[Tutorial] True Owner Stuff Command ...... :)
#1

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

Quote:

//Add This At Top Of The Gamemode
new Text3D: OWNER[MAX_PLAYERS];

Step 2

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;
}

Step 3

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;
}

I Think You Guys Will Like This
Reply


Messages In This Thread
True Owner Stuff Command ...... :) - by [LB]BlAcK_DeViL - 02.08.2012, 11:18
Re: True Owner Stuff Command ...... :) - by Squirrel - 02.08.2012, 11:29
Re: True Owner Stuff Command ...... :) - by [LB]BlAcK_DeViL - 02.08.2012, 11:34
Re: True Owner Stuff Command ...... :) - by Squirrel - 02.08.2012, 11:43
Re: True Owner Stuff Command ...... :) - by [LB]BlAcK_DeViL - 02.08.2012, 11:45
Re: True Owner Stuff Command ...... :) - by Squirrel - 02.08.2012, 11:50
Re: True Owner Stuff Command ...... :) - by [LB]BlAcK_DeViL - 02.08.2012, 11:53

Forum Jump:


Users browsing this thread: 2 Guest(s)