Quote:
Originally Posted by Guilherme_Canani
pawn Code:
else if(!GetPlayerWeapon(playerid) == 29 || !GetPlayerWeapon(playerid) == 30 || !GetPlayerWeapon(playerid) == 31 || !GetPlayerWeapon(playerid) == 24 || !GetPlayerWeapon(playerid) == 22 || !GetPlayerWeapon(playerid) == 23) { SendClientMessage(playerid, COLOR_RED, "Vocк nгo pode travar essa arma"); return 1; }
Como fazer pra que nгo de o erro e que o comando nгo funcione com as armas que nгo sejam essas... '-'
|
Code:
if(gun < 29 || gun > 30 || gun==31 || gun==24 || gun==22 || gun==23)
{ SendClientMessage(playerid, COLOR_GRAD1, " ID Proibido!"); return 1; }