SA-MP Forums Archive
Changing Weapon at Respawn - 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: Changing Weapon at Respawn (/showthread.php?tid=663650)



Changing Weapon at Respawn - jhonloyd20 - 07.02.2019

Have a problem in weapon Every Spawn a player (all job have same Gun)
i want to change they Gun (depend on her Job)

I`m Using (California Cops and Robber By bondowocopz)
Any Help where i can edit weapon spawn ?


Re: Changing Weapon at Respawn - TheToretto - 07.02.2019

Look up for OnPlayerSpawn and use a switch statement to check the player's job or whatever, then give him the gun you want.


Re: Changing Weapon at Respawn - TokicMajstor - 08.02.2019

If you don't understand @TheToretto just send us public OnPlayerSpawn


Re: Changing Weapon at Respawn - jhonloyd20 - 08.02.2019

Quote:
Originally Posted by TokicMajstor
Посмотреть сообщение
If you don't understand @TheToretto just send us public OnPlayerSpawn
Ty friend i try your tutor