10.05.2012, 15:50
faltou a return no comando ._.'
pawn Код:
if(strcmp("/daradmin", cmdtext, true) == 0)
{
new tmp[256], idx;
tmp = strtok (cmdtext, idx);
idx = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, PRETO, "Use: /daradmin id");
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, PRETO, "Este jogador nгo estб conectado!");
PlayerInfo[playerid][pAdmin] = 1337;
SendClientMessage(playerid, PRETO, "Agora vocк й ADM.");
return 1; // <<<<<<<<<<<< AKIIIIIIIIIIII!
}