SA-MP Forums Archive
Force player holding a 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)
+--- Thread: Force player holding a weapon (/showthread.php?tid=322303)



Force player holding a weapon - nuriel8833 - 01.03.2012

Is it possible to force player to hold a weapon?
For ex: I want that once he shoots in a specific area it will force player to hold the 'unarmed' weapon
Thanks 4 helpers


Re: Force player holding a weapon - milanosie - 01.03.2012

SetPlayerArmedWeapon


Re: Force player holding a weapon - iPLEOMAX - 01.03.2012

Or:
pawn Код:
GivePlayerWeapon(playerid, 0, 1);
should also do it.


Re: Force player holding a weapon - nuriel8833 - 02.03.2012

Thanks both