Hidden Admin System. -VS- A regular admin system -
California_ - 19.02.2013
Hi, Guys I guess you guys dont know me but HAY WHO CARES?
So Yeah i came to ask which one do you like? A admin system that hides you from players for players dont know whos an admin. and could find cheaters easily.
Or
Would you want a admin system that shows yourself.
Heres some examples.: (These scripts was in my server)
pawn Code:
dcmd_admins(playerid,params[]) {
#pragma unused params
SendClientMessage(playerid,0xD52BD5C8,"It's a Bird! It's a Plane It's a Pig!");
SendClientMessage(playerid,0xD52BD5C8,"NOPE It's just the admins in the sky!");
return 1;
}
and.
pawn Code:
dcmd_getall(playerid,params[]) {
#pragma unused params
if(PlayerInfo[playerid][Level] >= 3) {
CMDMessageToAdmins(playerid,"GETAll");
new Float:x,Float:y,Float:z, interior = GetPlayerInterior(playerid);
GetPlayerPos(playerid,x,y,z);
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && (i != playerid) && i != ServerInfo[MaxAdminLevel]) {
PlayerPlaySound(i,1057,0.0,0.0,0.0); SetPlayerPos(i,x+(playerid/4)+1,y+(playerid/4),z); SetPlayerInterior(i,interior);
}
}
new string[128]; format(string,sizeof(string),"The Server Admin Teleported All Players for a Event" );//see how it doesnt show the admins/name?
return SendClientMessageToAll(blue, string);
} else return SendClientMessage(playerid,red,"ERROR: You need to be level 3 to use this command");
}
As i see there are no GOOD filterscripts on sa-mp forums with this. I will Post mines today <3 with 5 levels.
Re: Hidden Admin System. -VS- A regular admin system -
2KY - 19.02.2013
pawn Code:
i != ServerInfo[MaxAdminLevel]
Not sure what your question is, but this piece of code would not teleport the person because their ID matches "MaxAdminLevel"..
Re: Hidden Admin System. -VS- A regular admin system -
California_ - 19.02.2013
It's not a question -_- its almost like a poll. and the command works perfectly.
Re: Hidden Admin System. -VS- A regular admin system -
2KY - 19.02.2013
Quote:
Originally Posted by California_
It's not a question -_- its almost like a poll. and the command works perfectly.
|
Have you ever tried it with any extended amount of players? I'm sure it works fine with a couple, but it's going to exclude whoever is ID "ServerInfo [ MaxAdminLevel ]" which I assume is ~5 or 10.
pawn Code:
if(IsPlayerConnected(i) && (i != playerid) && i != ServerInfo[MaxAdminLevel]) {
if the player i is connected and is not yourself and i's ID does not equal "ServerInfo [ MaxAdminLevel ]"
Think of it logically.
Re: Hidden Admin System. -VS- A regular admin system -
iWayne - 20.02.2013
Regular Admin System. Why Hide? .. it's a bit scary not knowing whose who haha
Re: Hidden Admin System. -VS- A regular admin system -
-Shifty- - 21.02.2013
Hidding is bettee for roleplay servers. For stunt servers it doesn't really matter...