20.06.2016, 21:42
CMD:darvip(playerid, params[])
{
sPlayer= strval(params);
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xD8D8D8FF,"Vocк nгo faz parte da Administraзгo.");
if(sscanf(params, "u", sPlayer)) return SendClientMessage(playerid, Vermelho, "Use: /darvip [ID]");
if(!IsPlayerConnected(sPlayer))
return SendClientMessage(playerid,0xFFFFFFF,"Este Player Atualmente estб desconectado");
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid,Nome,sizeof(Nome));
format(zString,64,"O Administrador %s(%d) acaba de lhe dar VIP.",Nome,playerid);
SendClientMessage(sPlayer,0xFFFFFF,zString);
PlayerInfo[sPlayer][VIP] = 1;
return true;
}
{
sPlayer= strval(params);
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xD8D8D8FF,"Vocк nгo faz parte da Administraзгo.");
if(sscanf(params, "u", sPlayer)) return SendClientMessage(playerid, Vermelho, "Use: /darvip [ID]");
if(!IsPlayerConnected(sPlayer))
return SendClientMessage(playerid,0xFFFFFFF,"Este Player Atualmente estб desconectado");
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid,Nome,sizeof(Nome));
format(zString,64,"O Administrador %s(%d) acaba de lhe dar VIP.",Nome,playerid);
SendClientMessage(sPlayer,0xFFFFFF,zString);
PlayerInfo[sPlayer][VIP] = 1;
return true;
}