Posts: 44
Threads: 8
Joined: Jun 2011
Reputation:
1
hello i am a beginner and i sa the tutorial for beginners
i have a question
i want to give him a special weapon when he respawned:
giveWeapon(famas_mp, 0, calcWeaponOptions ( gold, 0, 0, 0, 1 ));
but cod gives me errors ! help please
Posts: 184
Threads: 11
Joined: May 2011
Reputation:
1
replace the word "gold" with 15.
Posts: 44
Threads: 8
Joined: Jun 2011
Reputation:
1
i says the erorrs
tahts my code:
giveWeapon(famas_mp, 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ));
Posts: 61
Threads: 4
Joined: May 2011
Reputation:
2
did you put self giveWeapon ( famas_mp, 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ) );
Posts: 44
Threads: 8
Joined: Jun 2011
Reputation:
1
yes my code is:
self giveWeapon(famas_mp, 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ));
but alsway error grrrr!!
Posts: 20
Threads: 1
Joined: Dec 2010
Reputation:
1
07-21-2011, 20:17
(This post was last modified: 07-21-2011, 20:18 by masterbob.)
try
self giveWeapon("famas_mp", 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ));
Posts: 474
Threads: 67
Joined: May 2011
Reputation:
11
self giveWeapon ( "famas_mp" , 0, self calcWeaponOptions ( 15, 0, 0, 1, 1 ) );
If that doesn't work, copy and paste what you have changed here.
Posts: 44
Threads: 8
Joined: Jun 2011
Reputation:
1
probebly i past it in the flase line
where do you have thi line?