09.04.2014, 17:17
Hey guys i'm really in trouble here
So the problem:
First of all let me tell u all the ranks.Im using ladmin system.
Level 1 = Moderator
Level 2 = Master Moderator
Level 3 = Administrator
Level 4 = Head-Administrator
Level 5 = Owner/Co-Owner.
Now what i want is when i type this command.
Example
/c [my text here ex: hey]. Now what i want here is the it should check what level im if level 1 then moderator if level 2 then master moderator And goes like that to level 5 owner/co-owner.
like this. for ex i m level 5 then " Owner/Co-Owner Redbull[GD] Says Hey
So please help me guys i really want this script and urgently plz help
Thanks in advance
If u need any additional information then tell me
So the problem:
First of all let me tell u all the ranks.Im using ladmin system.
Level 1 = Moderator
Level 2 = Master Moderator
Level 3 = Administrator
Level 4 = Head-Administrator
Level 5 = Owner/Co-Owner.
Now what i want is when i type this command.
Example
/c [my text here ex: hey]. Now what i want here is the it should check what level im if level 1 then moderator if level 2 then master moderator And goes like that to level 5 owner/co-owner.
like this. for ex i m level 5 then " Owner/Co-Owner Redbull[GD] Says Hey
So please help me guys i really want this script and urgently plz help
Thanks in advance
If u need any additional information then tell me
Код:
dcmd_c(playerid,params[]) { #pragma unused params if(PlayerInfo[playerid][Level] >= 5) { if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /c [text]"); new string [128]; format (string, sizeof(string), "**Owner %s: %s", PlayerName2(playerid), params[0] ); return SendClientMessageToAll(COLOR_PINK,string); } else return SendClientMessage(playerid,red,"ERROR: You need to be level 5 to use this command"); }