Originally Posted by Compilador Pawn do Inferno
D:\0.3c\gamemodes\stewiegm.pwn(401) : warning 211: possibly unintended assignment
D:\0.3c\gamemodes\stewiegm.pwn(401) : error 022: must be lvalue (non-constant) D:\0.3c\gamemodes\stewiegm.pwn(401) : warning 215: expression has no effect D:\0.3c\gamemodes\stewiegm.pwn(401) : error 001: expected token: ";", but found ")" D:\0.3c\gamemodes\stewiegm.pwn(401) : error 029: invalid expression, assumed zero D:\0.3c\gamemodes\stewiegm.pwn(401) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
if(!strcmp(cmdtext, "/adminduty"))
{
if(GetPVarInt(playerid, "pAdmLvl") > 0)
{
if(GetPVarInt(playerid, "aDuty") < 1)
{
new sMessage[100], sName[24];
GetPlayerName(playerid, sName, 24);
format(sMessage, 100, "Bem-Vindo, {63A659}%s. Vocк estб logado como um administrador nivel {FFCC00}%d", sName, GetPVarInt(playerid, "pAdmLvl"));
SendClientMessage(playerid, 0xFFFFFFAA, sMessage);
}
}
else return SendClientMessage(playerid, 0xFFFFFFAA, "Vocк nгo й um administrador!");
return 1;
}
if(GetPVarInt(playerid, "aDuty") = 1)
if(GetPVarInt(playerid, "aDuty") < 1)