11.05.2010, 12:21
Okay, so when a player types /dm, how can I
reset all of the players weapon and give him
a new weapon
reset all of the players weapon and give him
a new weapon
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, weaponid);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, weaponid);
|
Originally Posted by PlayON
Put
pawn Код:
pawn Код:
pawn Код:
|
I was just thinking about that, but
if(!strcmp("/command", cmdtext, true))
{
SetPlayerPos(...);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(...);
return 1;
}