Thread
:
shooting part of rc helicopter wont work
View Single Post
#
2
01-01-2011, 11:06 PM
cbk1994
the fake one
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
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.
__________________
cbk1994
View Public Profile
View GraalOnline Profile
Visit cbk1994's homepage!
Find all posts by cbk1994