22.09.2017, 18:11
Quote:
No haha, same as I did before in my beginnings, are things that happens to the new ones there are many errors and warnings that when I leave and I know what I have to do to solve them. Anything I can help you with pleasure
![]() |
format(string, sizeof string, "{1D5857}Secret Admin");
Use this, no problem.
Код:
new AdminLevelArray[8][64] = { {"None"},{"{1D5857}Secret Admin"},{"{FFFF00}Junior Admin"},{"{26D607}General Admin"},{"{F9DE84}Senior Admin"},{"{F87627}Head Admin"},{"{C50574}Assistant Management"},{"{EE39CE}Management"} }; GetAdminRank(playerid) return AdminLevelArray[PlayerInfo[playerid][pAdmin]]; // If GetAdminRank(playerid) gives some stupid return message, replace the function with this: GetAdminRank(playerid) { new tempReturn[64]; format(tempReturn,64,"%s",AdminLevelArray[PlayerInfo[playerid][pAdmin]]); return tempReturn; }