Can u help me ?
#3

Do it like this
pawn Код:
new rank[30];

switch(PlayerInfo[playerid][pAdmin])
{
    case 1: rank = "Moderator"; //if he is level 1
    case 2: rank = "Head-Moderator"; //if he is level 2
    // ...
    case 1337: rank = "Head-Administrator"; //if he is level 1337
    // you just put rnk of each level inside " "
}
new string[128];
format(string, sizeof(string), "(( {33CCFF}%s{E0FFFF} %s: %s ))", rank, GetPlayerNameEx(playerid), params);
OOCOff(COLOR_OOC,string);
Reply


Messages In This Thread
Can u help me ? - by Laure - 21.04.2012, 08:56
Re: Can u help me ? - by Laure - 21.04.2012, 09:44
Re: Can u help me ? - by [MG]Dimi - 21.04.2012, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)