ResetPlayerWeapons
#1

Hi,

Can i ResetPlayerWeapons and instantly GivePlayerWeapon, or need set timer?
Reply
#2

One command waits for another to be done, so yes you can do it without timers.
Reply
#3

ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, ID);

And thats it.. Put it in that order and you are fine :d
Reply
#4

Quote:
Originally Posted by Micko123
Посмотреть сообщение
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, ID);

And thats it.. Put it in that order and you are fine :d
You forgot something!

pawn Код:
GivePlayerWeapon(playerid, weaponid, ammo);
Reply
#5

Step 1: Add the code and compile the gamemode.
Step 2: Start your server.
Step 3: Go in-game.
There is your answer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)