20.05.2010, 20:37
Hello,
I'm trying to create a /sellweapon command, and I've added this to my script:
And I have also added the pGun to my /login and /register commands plus my SaveStats function.
What I need to know is, how to make the script to understand that pGun will save the Weapon ID, so the player will have that weapon ingame when the command is used on a player..
If you need more info, just give me the word.
Thanks
I'm trying to create a /sellweapon command, and I've added this to my script:
Код:
enum pInfo { pGun1, pGun2, }; new PlayerInfo[MAX_PLAYERS][pInfo];
What I need to know is, how to make the script to understand that pGun will save the Weapon ID, so the player will have that weapon ingame when the command is used on a player..
If you need more info, just give me the word.
Thanks