16.10.2018, 23:27
PHP код:
CMD:setlevel(playerid, params[]) {
new plid, level;
if(sscanf(params, "ui", plid, level)) return SendClientMessage(playerid, -1, "Digite: /setlevel [id] [level]");
if(!IsPlayerConnected(plid)) return SendClientMessage(playerid, -1, "Jogador nгo conectado!");
SetPlayerScore(plid, level), SendClientMessage(playerid, -1, "Comando efetuado com sucesso!");
return 1;
}