04.12.2013, 18:57
Pronto.
PHP код:
CMD:trabalhar(playerid){
if(Player[playerid][qAdmin] <= Moderador) return SendClientMessage(playerid,0xEE9292F6,"Vocк nгo estб autorizado a usar este comando!");
if(VerificarADM[playerid] == 0){
VerificarADM[playerid] = 1;
if(Player[playerid][qSexo] == 1) SetPlayerSkin(playerid,217);
if(Player[playerid][qSexo] == 2) SetPlayerSkin(playerid,211);
SetPlayerColor(playerid, 0xF199FFAA);
SetPlayerHealth(playerid, 999999);
format(String,sizeof(String), "Administrador(a) %s esta trabalhando veja mais em /admins", PlayerNick(playerid));
SendClientMessageToAll(-1, String);
}
return true;
}
CMD:jogar(playerid){
VerificarADM[playerid] = 0;
if(Player[playerid][qSexo] == 1) SetPlayerSkin(playerid,96);
if(Player[playerid][qSexo] == 2) SetPlayerSkin(playerid,190);
SetPlayerColor(playerid, -1);
SetPlayerHealth(playerid, 999999);
format(String,sizeof(String), "Administrador(a) %s esta jogando veja mais em /admins", PlayerNick(playerid));
SendClientMessageToAll(-1, String);
}