03.11.2013, 01:04
Quote:
if(PlayerInfo[playerid][pGunLic] < 0) { if(GetPlayerWeapon(playerid) >= 1 && GetPlayerWeapon(playerid) =< 42) // O ERRO FOI NESSA LINHA! { SetPlayerWantedLevel(playerid, 1); SendClientMessage(playerid, COLOR_GREY, "Vocк nгo tem Porte legal de armas!"); SendClientMessage(playerid, COLOR_GREY, "Para Adquirir Licenзas Digite /gps - Centro de Licencas!"); SendClientMessage(playerid, COLOR_GREY,"[ x ] Vocк estб sendo procurado pela polнcia."); ResetPlayerWeapons(playerid); return 1; } } |
warning: 211: possibly unintended assignment
error: 022: must be lvalue (non-constant)
error: 029: invalid expression, assumed zero
warning: 215: expression has no effect
error: 001: expected token: ";", but found ")"
error fatal: 107: too many error messages on one line
Eu troquei a linha do erro por:
Quote:
if(GetPlayerWeapon(playerid)== 30) |