Weapon Check Help!
#2

Use the function GetPlayerWeapon Link: https://sampwiki.blast.hk/wiki/GetPlayerWeapon

for example
pawn Код:
if(GetPlayerWeapon(playerid) != 25) return SendClientMessage(playerid, -1, "You must be holding a shot gun to rob this store!"); //if player is not holding that weapon, it will show the error.
Reply


Messages In This Thread
Weapon Check Help! - by NewCityRoleplay - 19.10.2013, 15:07
Re: Weapon Check Help! - by Patrick - 19.10.2013, 15:11
Re: Weapon Check Help! - by NewCityRoleplay - 19.10.2013, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)