Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Weapon Drops/Keeping the Weapon
Re: Weapon Drops/Keeping the Weapon [message #363160 is a reply to message #361001] Sun, 14 December 2008 14:15 Go to previous messageGo to previous message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma:
Colonel
My script needs the parameter from the player's ID.

Try this:

char script[32];
_snprintf(script,sizeof(script),"%d",Get_Player_ID(obj));
Commands->Attach_Script(BackpackScript,"cAMpa_Weapon_BackPack",script);



And don't rename the script name. Angry


Bückstabü!

[Updated on: Sun, 14 December 2008 14:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to animate a flag?
Next Topic: Help installing LUA 5?
Goto Forum:
  


Current Time: Sun Dec 22 06:03:20 MST 2024

Total time taken to generate the page: 0.01173 seconds