Skripta koju koristim:LERP
Detaljan opis problema:Zanima me kako da stavim da kad se neko loguje na server da pise samo adminima i helperima iz koje je zemlje nik i ip adresa
Dio skripte
Neke slike/video za lakse dobivanje pomoci(neobavezno):
[Pomoc] Ulaz na server
476
pregleda
9
postova
22. Jul 2013.
22. Jul 2013.
David (Sabljak) A.k.A SABO(T) wrote on July 22, 2013, 9:06 am:
na registraciju dio
new ip;
new string;
new ImeIgraca;
GetPlayerName(playerid, ImeIgraca, MAX_PLAYER_NAME);
GetPlayerIp(playerid,ip, sizeof(ip));
format(coordsstring,sizeof coordsstring," Registracija - Nick: %s - IP: %s | ",ImeIgraca,ip);
//poruka adminima stock....22. Jul 2013.
Ne radi brate evo slika http://www.zaslike.com/viewer.php?file=81g4pjvhl73maatjggch.png
22. Jul 2013.
new String, Playerip;
GetPlayerIp(playerid, Playerip, sizeof(Playerip));
format(String, sizeof(String), "[Usao na Server]: %s [Ip Adresa] %s .", GetPlayerName(playerid), Playerip);
PorukaAdminima(COLOR_PURPLE, String);stock PorukaAdminima(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo > 1 )
{
SendClientMessage(i, color, string);
}
}
}22. Jul 2013.
C++ wrote on July 22, 2013, 8:50 pm:
new String, Playerip;
GetPlayerIp(playerid, Playerip, sizeof(Playerip));
format(String, sizeof(String), "[Usao na Server]: %s [Ip Adresa] %s .", GetPlayerName(playerid), Playerip);
PorukaAdminima(COLOR_PURPLE, String);stock PorukaAdminima(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo > 1 )
{
SendClientMessage(i, color, string);
}
}
}23. Jul 2013.
stock SendAdminMessage(color, string[])
{
foreach (Player, i)
{
if(PlayerInfo > 1 )
{
SendClientMessage(i, color, string);
}
}
}new string, Playerip;
GetPlayerIp(playerid, Playerip, sizeof(Playerip));
format(string, sizeof(string), "[Usao na Server]: %s [Ip Adresa] %s .", GetPlayerName(playerid), Playerip);
PorukaAdminima(COLOR_PURPLE, string);Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava