24.08.2009, 14:48
I have this list admin
And show in game:
Moderator ~ (name)
Mod+ ~ (name)
Adminr ~ (name)
Lead Admin ~ (name)
But i want show this.
Moderator ~ (name) (id)
Mod+ ~ (name) (id)
Adminr ~ (name) (id)
Lead Admin ~ (name) (id)
I try all, i not know how add the ID of player and show when the user typr /admins for know the ID of admins and send PM if is necesari
Someone know ho make it? Pls
Код:
if(PlayerData[i][AdminLevel] == 1)
{
format(string, sizeof(string), "Moderator ~ %s", PlayerName(i));
SendClientMessage(playerid, COLOUR_WHITE, string);
}
if(PlayerData[i][AdminLevel] == 2)
{
format(string, sizeof(string), "Mod+ ~ %s", PlayerName(i));
SendClientMessage(playerid, COLOUR_WHITE, string);
}
if(PlayerData[i][AdminLevel] == 3)
{
format(string, sizeof(string), "Admin ~ %s", PlayerName(i));
SendClientMessage(playerid, COLOUR_YELLOW, string);
}
if(PlayerData[i][AdminLevel] == 4)
{
format(string, sizeof(string), "Lead Admin ~ %s", PlayerName(i));
SendClientMessage(playerid, COLOR_AZULBRI, string);
}
}
}
return 1;
Moderator ~ (name)
Mod+ ~ (name)
Adminr ~ (name)
Lead Admin ~ (name)
But i want show this.
Moderator ~ (name) (id)
Mod+ ~ (name) (id)
Adminr ~ (name) (id)
Lead Admin ~ (name) (id)
I try all, i not know how add the ID of player and show when the user typr /admins for know the ID of admins and send PM if is necesari
Someone know ho make it? Pls

