+- +-

+-Website Stats

Members
Total Members: 27
Latest: shahrukh
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 188
Total Topics: 56
Most Online Today: 5
Most Online Ever: 140
(February 02, 2023, 11:46:57 pm)
Users Online
Members: 0
Guests: 4
Total: 4

Forum > Commands.

True Owner Stuff Command ...... :)

(1/2) > >>

BlAck_DeViL:
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];
--- End quote ---

Step 2

For Showing The Text Server Owner


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

Step 3

For Removing The Server Owner Text


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

I Think You Guys Will Like This

Y_Less:
Filterscript shouldn't be done like this give us the download link or, create the whole filterscript.

BlAck_DeViL:
Who told this is the filter script and i told you to add this in the Gamemode so this you should add this in the gamemode only :p

Lordz:
You've told its for Level 10 admins but for which administration system?
Or else you should create this cmd only for RCON admins.
Also this requires Zcmd include and streamer plugin and include.
But thats not explained here.
Please explain what all things are needed when you create this.

Y_Less:
This command looks kind of copy paste... Since you hadn't added the Include and also the admin systems are differ every one don't use LuxAdmin use If(isplayeradmin) its for Rcon so the peoples won't have to add the Luxadmin.

Navigation

[0] Message Index

[#] Next page

Recent Topics

MOVED: Creating TextDraw For Free ... :) by Lordz
August 30, 2012, 10:53:11 am

Website designer. by [RD]Cenation
August 29, 2012, 07:44:34 am

{Urgent}Help Needed by Lordz
August 27, 2012, 05:51:20 pm

A help by BlAck_DeViL
August 24, 2012, 05:26:26 pm

Hello all! by [RD]Cenation
August 21, 2012, 03:04:29 pm

Hello All by Lordz
August 20, 2012, 06:45:02 pm

Hello All by Lordz
August 18, 2012, 04:10:39 pm

Need PS2 game. by Lordz
August 18, 2012, 08:42:57 am

Map help.[Scripting] by YoUnG_Ca$h
August 16, 2012, 05:06:09 pm

I Want To Change My UserName , So i am Applying by BlAck_DeViL
August 16, 2012, 04:58:29 pm

Go to full version