Need help remove weapons - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help remove weapons (
/showthread.php?tid=404578)
Need help remove weapons -
Lynet - 03.01.2013
I need help to a code there remove players weapon when they spawn.
Re : Need help remove weapons -
DaRk_RaiN - 03.01.2013
pawn Code:
ResetPlayerWeapons(playerid);
Respuesta: Need help remove weapons -
Lynet - 03.01.2013
Where did i place it?
Re : Need help remove weapons -
DaRk_RaiN - 03.01.2013
You want to remove all player weapons when he spawn right?then put it in the OnPlayerSpawn call back
pawn Code:
public OnPlayerSpawn(playerid)
{
ResetPlayerWeapons(playerid);
//The rest of the OnPlayerSpawn script
return 1;
}