guys, i want to add that, when player joins my server is shows player name and his country name
can u give me example to add that guys ? pls :'(
function onPlayerJoin( player )
{
local IP = player.IP;
Message(player.Name + " Connecting From: "+ IpToCountry( IP )+" ");
}
Link to topic (http://forum.vc-mp.org/?topic=1478.0)
Quote from: umar4911 on Nov 18, 2017, 10:22 AMfunction onPlayerJoin( player )
{
local IP = player.IP;
Message(player.Name + " Connecting From: "+ IpToCountry( IP )+" ");
}
this code is not working
Quote from: ForOver on Nov 18, 2017, 08:04 PMQuote from: umar4911 on Nov 18, 2017, 10:22 AMfunction onPlayerJoin( player )
{
local IP = player.IP;
Message(player.Name + " Connecting From: "+ IpToCountry( IP )+" ");
}
this code is not working
Did you setup the GeoIP?
Quote from: zeus on Nov 18, 2017, 12:20 PMLink to topic (http://forum.vc-mp.org/?topic=1478.0)
Quote from: ForOver on Nov 18, 2017, 08:04 PMQuote from: umar4911 on Nov 18, 2017, 10:22 AMfunction onPlayerJoin( player )
{
local IP = player.IP;
Message(player.Name + " Connecting From: "+ IpToCountry( IP )+" ");
}
this code is not working
Because this function is not specified.
Quote from: umar4911 on Nov 18, 2017, 10:22 AMIpToCountry( IP );
Its Solved now. i added this without country