[Ajuda] Sistema de licenзas
#6

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;
}
}

ERROS & AVISOS
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)

e nгo funcionou nem deu erro :/
Reply


Messages In This Thread
Sistema de licenзas - by William.Wagner - 03.11.2013, 00:07
Re: Sistema de licenзas - by CharlieBrown - 03.11.2013, 00:27
Re: Sistema de licenзas - by William.Wagner - 03.11.2013, 00:31
Re: Sistema de licenзas - by Coe1 - 03.11.2013, 00:33
Re: Sistema de licenзas - by Eudes - 03.11.2013, 00:39
Re: Sistema de licenзas - by William.Wagner - 03.11.2013, 01:04
Re: Sistema de licenзas - by GReeN_WOoD - 03.11.2013, 01:04
Re: Sistema de licenзas - by William.Wagner - 03.11.2013, 14:48
Re: Sistema de licenзas - by William.Wagner - 03.11.2013, 15:14
Respuesta: Sistema de licenзas - by DanDRT - 03.11.2013, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)