SA-MP Forums Archive
weapon - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: weapon (/showthread.php?tid=149301)



weapon - shoru93 - 21.05.2010

ok i got this" if tec giveplayerweapon 0 32 0000
but how to make to spawn with same weapon after death?


Re: weapon - [MWR]Blood - 21.05.2010

pawn Код:
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid,32,5555);
return 1;
}



Re: weapon - ViruZZzZ_ChiLLL - 21.05.2010

pawn Код:
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid, 32, 9999);
return 1;
}



Re: weapon - shoru93 - 21.05.2010

YE BUT I WANT THAT ONLY IF SOMEONE DID /TEC.
if not spawn without weapons, if he did /tec then respawn with chosen gun