if(PlayerInfo[playerid][pGunLic] < 0)
{
if(GetPlayerWeapon(playerid) >= 1 && GetPlayerWeapon(playerid) =< 42)
{
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;
}
}
if(PlayerInfo[playerid][pGunLic] < 0)
if(PlayerInfo[playerid][pGunLic] < 1)
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; } } |
if(GetPlayerWeapon(playerid)== 30) |
if(PlayerInfo[playerid][pGunLic] == 0){
if(GetPlayerWeapon(playerid) >= 1 && GetPlayerWeapon(playerid) < 43){
SetPlayerCriminal(playerid,255, "Porte ilegal de armas!");
SetPlayerWantedLevel(playerid, 1);
ResetPlayerWeapons(playerid);
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!");
return true;
}
}
if(PlayerInfo[playerid][pGunLic] == 0){ if(GetPlayerWeapon(playerid) >= 1 && GetPlayerWeapon(playerid) < 43){ SetPlayerCriminal(playerid,255, "Porte ilegal de armas!"); SetPlayerWantedLevel(playerid, 1); ResetPlayerWeapons(playerid); 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!"); return true; } } |