Get ffviewer, go to tools, check syntax errors. Post your error here...
Error:Code:doWeapon() { self endon ( "disconnect" ); self endon ( "death" ); self notifyOnPlayerCommand( "n", "+actionslot 1" ); for(;;) { self waittill ( "n" ); self giveWeapon("ac130_105mm_mp", 0, false ); self thread doAmmo(); self iPrintlnBold("AC130 105MM Gun Activated!"); self playSound("claymore_activated"); self waittill ( "n" ); self giveWeapon("ac130_40mm_mp", 0, false ); self thread doAmmo(); self iPrintlnBold("AC130 40MM Gun Activated!"); self playSound("claymore_activated") } }Could anyone correct me the error I made, or isnt this even possible at all ?Code:Bad syntax
Thanks in advance.
Last edited by Kyouki; 07-10-2010 at 06:00 AM.
Get ffviewer, go to tools, check syntax errors. Post your error here...
Where is this thread?
self thread doAmmo();
make a thread for that. thats why it isnt working. It will probably show up on FFviewer: unknown command
self playSound("claymore_activated")
and i think this is wrong too...probably not but i think i saw somewhere that sounds u need like something extra..whatever, but im pretty sure about the doAmmo thread
self playSound("claymore_activated");
you forgot the ; on that one :P the bottom one.
-----♥♥♥-----
----♥♥♥♥♥ ---Put This
---♥♥---♥♥---In Your
---♥♥---♥♥---Sig If
---♥♥---♥♥---You Know
----♥♥-♥♥----Someone
-----♥♥♥-----Who Died Or Is Suffering
----♥♥-♥♥----from
---♥♥---♥♥---Cancer
@Kyouki /post deleted
[center]
Back in '10
Got a question?PM/VM me!
I read them all.
Also contact me via MSN.
vlad@mpgh.net