13.04.2012, 20:49
pawn Код:
if(!strcmp(cmd, "/daroperador", true)) {
if(!IsPlayerAdmin(playerid)) return 1;
tmp = strtok(cmdtext, idx);
new id = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/daroperador id operador");
tmp = strtok(cmdtext, idx);
new op = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/daroperador id operador");
PlayerInfo[id][pOperador] = op;
SendClientMessage(id, -1, "Te deram operador ");
SendClientMessage(playerid, -1, "Vc deu operador pro cara rsrrrs vida loka dorgas");
return 1;
}