08.04.2014, 06:21
this is the fs which indicates the admin i have scripted upto 5 maximum levels.. but u can edit it..it is totally modifyable....
how to use it >> just put the script in your gamemode or pm me so i can give u the amx
if u found any probem plzz pm me the whole fix i m a beginer scripter soo sorry for mistakjes
hope u like it
how to use it >> just put the script in your gamemode or pm me so i can give u the amx
Код:
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
if u found any probem plzz pm me the whole fix i m a beginer scripter soo sorry for mistakjes
hope u like it