View Single Post
  #2  
Old 01-01-2011, 11:06 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
You need to move the onActionProjectile stuff to a system weapon which every player has.

Also, use == for comparison, = is for assigning.

PHP Code:
if(key "d"){ 
needs to be
PHP Code:
if(key == "d"){ 
You should also use player.z instead of playerz, although either works.
__________________
Reply With Quote