08.06.2016, 10:23
why I made the rank adminnator tag mess when I made was not an error, I test into games I setlevel I became moderator adminsnator and others can get messy his tag
I put in the area OnPlayerSpawn
I put in the area OnPlayerSpawn
Quote:
if(User[playerid][accountAdmin] >= 0) { playermembers[playerid] = CreateDynamic3DTextLabel("", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } if(User[playerid][accountAdmin] >= 1) { moderator[playerid] = CreateDynamic3DTextLabel("{87A3AE}Moderator", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } if(User[playerid][accountAdmin] >= 2) { administrator[playerid] = CreateDynamic3DTextLabel("{87A3AE}Administrator", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } if(User[playerid][accountAdmin] >= 3) { leadadministrator[playerid] = CreateDynamic3DTextLabel("{87A3AE}Lead Administrator", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } if(User[playerid][accountAdmin] >= 4) { headadministrator[playerid] = CreateDynamic3DTextLabel("{87A3AE}Head Administrator", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } if(User[playerid][accountAdmin] >= 5) { serverowner[playerid] = CreateDynamic3DTextLabel("{87A3AE}Server Developer", -1, 0.0, 0.0, -0.9, 20, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } |