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(playeridnamesizeof(name));
    
GetPlayerCountry(playeridcountrysizeof(country));
    
format(strsizeof(str), "%s Is Connected from %s"namecountry);
    
SendClientMessage(playerid0xFFFF00FFstr);
    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: 3 Guest(s)