18.11.2011, 18:52
PHP код:
stock IsABigWeapon(playerid)
{
switch(GetPlayerWeapon(playerid))
{
case 30,31,24,23,29: return 1;
}
return 0;
}
PHP код:
if(!IsABigWeapon)
{
SendClientMessage(playerid, COLOR_GRAD1, "You can't put this weapon.");
return 1;
}
PS: I'm not sure about the shawnoff id (23)