SA-MP Forums Archive
Geo-ip - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Geo-ip (/showthread.php?tid=279886)



Geo-ip - BlackLeopard - 29.08.2011

Hola a todos..

Alguien podria ayudarme a conseguir un GeoIP que tenga el siguiente formato?

Ejemplo:

***Manuel (ID:0) has joined the server. (Country: x )

Gracias de antemano


Re: Geo-ip - Code8976Man - 29.08.2011

pawn Код:
new string[90], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);

format(string, sizeof string, "*** %s (ID: %d) has joined the server. (Country: %s)", name, playerid, GetPlayerCountryName( playerid )),
SendClientMessage(playerid, -1, string);
Algo asн dices?


Re: Geo-ip - BlackLeopard - 29.08.2011

amm si , pero me da el siguiente error

Quote:

error 017: undefined symbol "GetPlayerCountryName"




Respuesta: Geo-ip - [00]Luis - 29.08.2011

Usa este:

https://sampforum.blast.hk/showthread.php?tid=278763


Respuesta: Geo-ip - TheChaoz - 29.08.2011

tenes incluido el include el Geo-IP(plugin)?