03.01.2011, 22:35
(
Последний раз редактировалось park4bmx; 04.01.2011 в 19:28.
Причина: other problem
)
SOLVED
static
AdmLevel[500][5], //5 = total levels
AdminName[sizeof AdmLevel][24] = { "Admin 1", "Admin 2", "Admin 3,"Admin 4"} //names level
;
#define SetAdminLevel(%0,%1) AdmLevel[%0] = %1;
#define GetAdminLevel(%0); AdmLevel[%0];
#define GetAdminLevelName(%0); AdminName[AdmLevel[%0]];
PlayerInfo[playerid][PlayerAdmin] = dini_Int(file,"PlayerAdmin");
PlayerInfo[playerid][PlayerAdmin] = 0;
PlayerInfo[playerid][PlayerAdmin] = 0;