20.08.2009, 09:32
I have a admin mod. And I was coding this codes. But does not work....
Please, please help me
Please, please help me
Код:
forward namecolor(playerid); public namecolor(playerid) { SetTimer("namecolor", 30000, 1); if(PlayerData[playerid][AdminLevel] == 1){ SetPlayerColor(playerid,COLOR_GREEN);} if(PlayerData[playerid][AdminLevel] == 2){ SetPlayerColor(playerid,COLOR_BLUE);} if(PlayerData[playerid][AdminLevel] == 3){ SetPlayerColor(playerid,COLOR_RED);} else SetPlayerColor(playerid,COLOR_WHITE); return true; }