World of Scripters!
Filterscripts. => Commands. => Topic started by: BlAck_DeViL on August 02, 2012, 02:06:59 am
-
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
//Add This At Top Of The Gamemode
new Text3D: OWNER[MAX_PLAYERS];
Step 2
For Showing The Text Server Owner
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
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
-
Filterscript shouldn't be done like this give us the download link or, create the whole filterscript.
-
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
-
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.
-
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.
-
And also his [PlayerInfo][playerid] line is also mistake if he is using Ladmin or LuxAdmin.