And delete some cmds like /kick and /ban... deam! why didn't i think in that??
And do u know how to take some pickups out of the game? they ain't in the FS's... when I enter the Mad Dogg Mansion in LV (GarHouse) I exit in LS...
@Edit
I want to get this code:
pawn Код:
//VIP ONLINE CMD
CMD:vips(playerid,params[])
{
new string[256];
new iname[MAX_PLAYER_NAME], count=0;
SendClientMessage(playerid, color, "VIPґs");
for(new i; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][VIP] == 1)
{
GetPlayerName(i, iname, sizeof(iname));
format(string, sizeof(string), "[%i]%s Level:%i",playerid, iname, GetPlayerScore(i));
SendClientMessage(playerid, color, string);
count++;
}
}
if(count==0) SendClientMessage(playerid, color, "Sem Players na Rcon");
return 1;
}
On This:
pawn Код:
dcmd_admins(playerid,params[])
{
#pragma unused params
new count=0,string[128],rank[128];
SendClientMessage(playerid, LIGHTBLUE, "_________________|Admins Online|_________________");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerHAdmin(i))
{
if(!strcmp(PlayerIp(i),"127.0.0.1",true)) rank = "Server Owner";
else
switch(GetInfo(i,"AdminLevel"))
{
case 1: rank = "Low Moderator";
case 2: rank = "Normal Moderator";
case 3: rank = "Big Moderator";
case 4: rank = "Hero moderator";
case 5: rank = "Low Administrator";
case 6: rank = "Normal Administrator";
case 7: rank = "Big Administrator";
case 8: rank = "Hero Administrator";
case 9: rank = "High Administrator";
case 10: rank = "Highest Administrator";
}
format(string, 128, "Admin: %s Level: %d Rank: %s", AdminName(i),GetInfo(i,"AdminLevel"),rank);
SendClientMessage(playerid, LIGHTBLUE, string);
count++;
}
}
if (count == 0) SendClientMessage(playerid,LIGHTBLUE,"There Are no Admins Online");
return SendClientMessage(playerid, LIGHTBLUE, "ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ");
}