public OnPlayerConnect(playerid) { if(pInfo[playerid][Admin] == 0) { label2[playerid] = Create3DTextLabel(" ",0x008080FF,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label2[playerid], playerid, 0.0, 0.0, 0.4); } else if(pInfo[playerid][Admin] == 5) { label1[playerid] = Create3DTextLabel("[ Manager/OWNER ]", COLOR_RED,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } else if(pInfo[playerid][Admin] == 4) { label1[playerid] = Create3DTextLabel("[ Head Admin/BETA TESTER ]", COLOR_YELLOW,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } else if(pInfo[playerid][Admin] == 3) { label1[playerid] = Create3DTextLabel("[ Leader ]", COLOR_LIGHTBLUE,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } else if(pInfo[playerid][Admin] == 2) { label1[playerid] = Create3DTextLabel("[ Admin ]", COLOR_WHITE,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } else if(pInfo[playerid][Admin] == 1) { label1[playerid] = Create3DTextLabel("[ Tester ]", COLOR_WHITE,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } return 1; } public OnPlayerSpawn(playerid) { return 1; } #endif
no man... alll he needs is relog .....AND THE THING THAT I MENTIONED IN THE DESCRIPTION IS THAT IT IS TOTALLLY MODIFYABLE SO U CAN ADD COMMANDS O REMOVE THE TAG ABOVE HIS HEAD
|