12.08.2010, 20:47
How to make when people have sawnoff shotgun will always SetPlayerHealth(playerid, 0);
Thk For All ans
Thk For All ans
if(GetPlayerWeapon(playerid) == 26) { SetPlayerHealth(playerid,0); return 0; } |
new weap, ammo; for(new i; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; GetPlayerWeaponData(i, 7, weap, ammo); if(weap == 26 && ammo != 0) { SetPlayerHealth(playerid, 0); continue; } } return 1; }