SA-MP Forums Archive
(SOS) zAdmin help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: (SOS) zAdmin help (/showthread.php?tid=68932)



(SOS) zAdmin help - djdanni - 14.03.2009

hi.I am woondering if it is possabole in zAdmin to put like /admins the you see who Admins are Online?


Re: (SOS) zAdmin help - [ZFM]Zuc - 30.05.2010

if you mean ZAdmin1.0 (my system) yes!!! command /admins is in the script! but...i saw a little error: in english the command does not work. so you should replace dcmd_admins with this:

Код:
dcmd_admins(playerid,params[]){
 #pragma unused params
 if(Options[Language]==1)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** Admins Connessi: ***");
 if(Options[Language]==2)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** Admins Online: ***");else
 for(new i=0;i<200;i++){
	if(IsPlayerConnected(i)){
	 if(Account[i][pAdminlevel]>=1){
	  new name2[24];
    GetPlayerName(i, name2, sizeof(name2));
    if(Options[Language]==1)format(str, sizeof(str), "- %s | (id: %d) | [Livello: %d]", name2, i, Account[i][pAdminlevel]), SendClientMessage(playerid, COLOR_WHITE, str);else
		if(Options[Language]==2)format(str, sizeof(str), "- %s | (id: %d) | [Level: %d]", name2, i, Account[i][pAdminlevel]), SendClientMessage(playerid, COLOR_WHITE, str);}}}
 return 1;}
Yes...you think is the same, but it is not. Replace IT!!!


Re: (SOS) zAdmin help - Flashy - 31.05.2010

Why it doesnґt work in english language? Thatґs crap shit cause the sentences in the script donґt have nothing to do with the script.
It isnґt the language. I am sure.


Re: (SOS) zAdmin help - [ZFM]Zuc - 31.05.2010

Sorry I'm talking about my system (called ZAdmin v1.0):
http://solidfiles.com/d/8e3/

Maybe you're talking about an other (different).