10.09.2016, 19:06
Hello, I have a problem with the message when the connection when I ID: 0, showing a join message in chat when I ID: 1, the message does not show where the problem may be?
Код:
public OnPlayerConnect(playerid) { //_cntr_HandleLogin(playerid); new mess[250]; new Country5[20], City5[20], IP5[20]; GetPlayerCountry(playerid, Country5); GetPlayerCity(playerid, City5); GetPlayerIp(playerid,IP5,sizeof(IP5)); format(mess,sizeof(mess),"{FFFF00}> %s ( %i ) se přihlбsil do hry. [IP Adresa: %s | Země: %s | Proxy: %s]", RReturnPlayerName(playerid), playerid, IP5, Country5, IsPlayerUsingProxy(playerid) ? ("{FF0000}Pozitivnн{FFFF00}") : ("{FFFF00}Negativnн")); SendClientMessageToAll(-1, mess); GameTextForPlayer(playerid,"~r~T~w~exture ~r~S~w~tudio ~b~1.8",5000,5); return 1; }