28.03.2015, 02:41
only IP without any other info
or if you want more info you need format
pawn Код:
CMD:getip(playerid, params[])
{
new playerip[16];
GetPlayerIp(playerid, playerip, sizeof(playerip));
SendClientMessage(playerid, COLOR_LIGHTBLUE ,playerip);
return 1;
}
pawn Код:
CMD:getip(playerid, params[])
{
new playerip[30];
GetPlayerIp(playerid, playerip, sizeof(playerip));
format(playerip, sizeof playerip, "Your IP: %s", playerip);
SendClientMessage(playerid, COLOR_LIGHTBLUE ,playerip);
return 1;
}