23.01.2015, 05:38
Alguйm me ajuda como esse comando? tipo, estou com medo de mexer e bugar, mexer nas cйlulas, o que faзo?
comando:
Код:
error1: local variable "tmp" shadows a variable at a preceding level error2: local variable "Vstring" shadows a variable at a preceding level
pawn Код:
if (strcmp(cmd, "/baninfo", true) == 0)
{
if (PlayerInfo[playerid][pAdminStats] != 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"ERRO: Vocк nгo estб no modo admin! (/trabalhar)");
return true;
}
new tmp[24]; //error 1
new Vstring[32]; //error 2
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /baninfo [Nome/IP]");
format(Vstring, 32, "/bans/%s.ini", tmp);
VBanLoadInfo(playerid, Vstring);
return true;
}