Totalka 0 Odesláno: 3. Duben, 2015 Share Odesláno: 3. Duben, 2015 chtel bych od vas pomoc toto preves do admins v dialogu v nejakem slusnem zobrazeni,jedno sem tu uz nasel ale blbne.jde o exis. dcmd_admins(playerid, params[]) { #pragma unused params TestPrint("dcmd_admins(playerid, params[])"); if(AdminsOnline() == 0) return MLMSvitz(playerid, "[ ! ] Na serveru neni pritomen zadny Administrator.", "[ ! ] Na serveri nieje pritomny ziadny Administrator."); SendClientMessage(playerid, B_SVITIVA, "Administratori On-line /einfo"); new string[60]; for(new i=0;i<=MAX_PLAYERS_EX;i++) { if(IsPlayerConnected(i)) { if(IsPlayerAdmin(i) && Informace[AdminLevel] == 0) { format(string, 60, "[ On-line ] %s | [ RCON ]",Jmeno(i)); SystemMessage(playerid,string); } else if(Informace[AdminLevel] > 0 && !IsPlayerAdmin(i)) { format(string, 60, "[ On-line ] %s | [ LVL %d ]",Jmeno(i),Informace[AdminLevel]); SystemMessage(playerid,string); } else if(IsPlayerAdmin(i) && Informace[AdminLevel] > 0) { format(string, 60, "[ On-line ] %s | [ LVL %d + RCON ]",Jmeno(i),Informace[AdminLevel]); SystemMessage(playerid,string); } } } return true; } Link to comment Share on other sites More sharing options...
Dotaz
Totalka 0
chtel bych od vas pomoc toto preves do admins v dialogu v nejakem slusnem zobrazeni,jedno sem tu uz nasel ale blbne.
jde o exis.
Link to comment
Share on other sites
0 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now