11.06.2017, 18:35
PHP код:
public OnPlayerConnect(playerid)
{
new connected[256],plname[MAX_PLAYER_NAME],plip[126],Country[126],City[126];
GetPlayerCountry(playerid, Country, sizeof(Country));
GetPlayerCity(playerid,City, sizeof(City));
GetPlayerName(playerid, plname, sizeof(plname));
GetPlayerIp(playerid, plip, sizeof(plip));
format(connected,sizeof(connected),"{00ff00}[Join]:{0000ff}%s {ff0000}Has Joined The Server{00ffff}[{ffffff}IP:{ffff00}%s{00ffff}]{00ffff}[{ffffff}Contry:{ffff00}%s{00ffff}]{00ffff}[{fffff00}City: %s{00ffff}]",plname,plip,Country,City);
SendClientMessageToAll(0xFF0000FF,connected);
return 1;
}
It should be string value inthere..