Connect Message Help
#1

Hello Actually I Was Trying To Create Different OnplayerConnect Message like for example my name is alan so when i am joining the game then its says to all players ( Alan Is Connected from USA )
So What Should I do Or If You Can Send Me Codes Then its good and easier for me
Reply
#2

PHP код:
#include <a_samp>
#include <geoip>
public OnPlayerConnect(playerid)
{
    new 
str[60], name[MAX_PLAYER_NAME], country[15];
    if(
IsPlayerNPC(playerid)) return 1;
    
GetPlayerName(playerid, name, sizeof(name));
    
GetPlayerCountry(playerid, country, sizeof(country));
    
format(str, sizeof(str), "%s Is Connected from %s", name, country);
    
SendClientMessage(playerid, 0xFFFF00FF, str);
    return 
1;
} 
Reply
#3

link inc geoip ? what should i do bro
Reply
#4

Quote:
Originally Posted by RJTabish
Посмотреть сообщение
link inc geoip ? what should i do bro
https://sampforum.blast.hk/showthread.php?tid=296171
Reply
#5

thanx brother
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)