connect message not working
#1

Can somebody tell me why the variables doesn't work? I mean, %s etc.

The message says:
has connected to the server! ID: 4 IP: 57


pawn Код:
new IP[16], name[MAX_PLAYER_NAME];
    GetPlayerIp(playerid, IP, sizeof(IP));
    GetPlayerName(playerid, name, sizeof(name));
    SendClientMessage(playerid, COLOR_LIGHTRED, "The server is now retrieving some information from the database. This usually takes around 10 seconds.");
    LoadPlayerTextDraws(playerid);
   
    new amessage[256];
    format(amessage, sizeof(amessage), "%s has connected to the server! ID: %d IP: %d", GetNameWithSpace(playerid), playerid, IP);
    SendMessageToAdmins(amessage, COLOR_LIGHTRED);
Reply


Messages In This Thread
connect message not working - by EmilLykke - 03.10.2014, 13:43
Re: connect message not working - by highstreetsrp - 03.10.2014, 13:48
Re: connect message not working - by JJack - 03.10.2014, 13:50
Re: connect message not working - by Eth - 03.10.2014, 13:51
Re: connect message not working - by EmilLykke - 03.10.2014, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)