SA-MP Forums Archive
same weapons after death - 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: same weapons after death (/showthread.php?tid=148208)



same weapons after death - shoru93 - 16.05.2010

i want to create 2 commands:
/deagle - giveplayerweapon 24 ....
/uzy - giveplayerwapon...

if someone do /deagle, i want to make respawn with same deagle, and so on..



Re: same weapons after death - juice.j - 16.05.2010

Variables in which you store whether someone has typed /deagle.

Check for that variable in OnPlayerSpawn.

If set to true/1, spawn him a deagle (for instance).