19.01.2012, 18:51
pawn Код:
if(newstate==PLAYER_STATE_PASSENGER)
{
switch (GetPlayerWeapon(playerid))
{
case 24,27,31: //WEAPONS IDS
{
SendClientMessage(playerid, 0xFFFFFF, "You can't driveby with this weapon.");
SetPlayerArmedWeapon(playerid, 0);
}
}
}
Sorry for bad ident.