so doesnt matter just what i need is EXAMPLE :
if (strcmp("/tdbarea", cmdtext, true) == 0)
{
if (!GetPlayerTag(playerid) == "TdB") // TdB is my admin clan
{
SendClientMessage(playerid,red,"Youre Not An Admin, SO PISS OF!");
Kick(playerid);
}
else
{
SendClientMessage(playerid,red,"Welcome To Your Home Admin");
}
return 1;
}
or is there anythink like that?
i gogled it and forumed it
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
As a tag you mean [TdB] in front of your name?
Posts: 127
Threads: 5
Joined: Nov 2009
Reputation:
0
there was a nice include from sandra i remember to detect parts of players name
Posts: 1,464
Threads: 11
Joined: Jan 2008
Reputation:
0
Easiest would be to check the tag when player connects in the server and then set the player to the team (every clan has diff. team).
Would make all these things for checking if player is in a clan alot easier.
it wood...but after (if ) i made someone instantly admin he wood need to reconnect?
well you could say now to put in my admin script that it changes the team...well i...i acctualy do not know how to delete commands from Lethal Admin script... idk when i delete it it says error at line 6 700 i go to that line , but it like...is over the maximum...well i tryed your script the 1 that is not beta but when i registerd, then loggedin , and disconnected from my server connected password changed...i tried to do this again ( im 100 % sure that it was the right password ) it said again : Inccorect Password when i logged in...thats why i posted a request for an admin system...there i have the right 1 for my server but...id need someones help for it...when i created my own admin system and i type /rcon login **mypwhere** i loggedin then i typed /rcon loadfs myadminscript
it loaded it and closed the server . LOL o-O i looked in the server_log.txt and i found after it said : loading myadminscript.amx
***********************
Admin Script By Ur Name
***********************
the log ended and a new ...lets say startup started
so
i really really could use a script like that....