02.08.2012, 11:18
(
Последний раз редактировалось [LB]BlAcK_DeViL; 02.08.2012 в 15:26.
)
This Command is For Level 10 Admins ! When we will Type This Command At The Top Of Our Head It will Show Server Owner As Red Colour ......... Now Going To Show The Step For Adding .........
Step 1
Step 2
For Showing The Text Server Owner On The Top Of Your Head
Step 3
For Removing The Server Owner Text From The Top Of Your Head
I Think You Guys Will Like This
Step 1
Quote:
//Add This At Top Of The Gamemode new Text3D: OWNER[MAX_PLAYERS]; |
For Showing The Text Server Owner On The Top Of Your Head
Quote:
CMD:trueowner(playerid, params[]) { if(PlayerInfo[playerid][Level] == 10 || IsPlayerAdmin(playerid)) { new string[256]; new kuldoneve[MAX_PLAYER_NAME]; SendClientMessage(playerid,0x99FF00AA,"Now Its Time To Rule Other'Z Welcome KiNg!"); GameTextForPlayer(playerid,"~r~Welcome Server Owner!", 5000, 1); OWNER[playerid] = Create3DTextLabel("Server Owner", 0xFF0000FF, 0.0, 0.0, 2.0, 40, 0, 0); Attach3DTextLabelToPlayer(OWNER[playerid],playerid, 0.0, 0.0, 0.4); GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve)); format(string, sizeof(string), "-=%s=-{FFFFFF}Has Logged in As Server Owner",kuldoneve, playerid); SendClientMessageToAll(COLOR_YELLOW, string); SendClientMessage(playerid,COLOR_ORANGE, "Welcome Owner,Never Forget [LB]BlAck_DeViL"); } return 1; } |
For Removing The Server Owner Text From The Top Of Your Head
Quote:
CMD:falseowner(playerid, params[]) { if(PlayerInfo[playerid][Level] == 10 || IsPlayerAdmin(playerid)) { new string[256]; new kuldoneve[MAX_PLAYER_NAME]; Delete3DTextLabel(OWNER[playerid]); GameTextForPlayer(playerid,"~w~Server Owner Signing Out.....", 5000, 1); GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve)); format(string, sizeof(string), "-=%s=- Has Logged Out From OwNeR'Z panel.", kuldoneve, playerid); SendClientMessageToAll(COLOR_YELLOW, string); } return 1; } |