Hi I have a problem with displaying information from players with "iphub.info" the script that I used the fashion "Scavenge Survive Southclaw Southclaw" always when I write / checkex [playerid] is a blank value (photo below), you do not know where the problem may be ?
Код:
#include <a_samp>
#include <base.pwn>
#include <sscanf2>
#include <zcmd>
CMD:checkex(playerid, params[])
{
new targetid, dat[255], checkexString[255], IpEx[20];
if(sscanf(params,"u", targetid)) return SendClientMessage(playerid, -1,"SYNTAXE: /checkex [playerid]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, -1,"Didn't connected");
GetPlayerIp(playerid,IpEx,sizeof(IpEx));
format(checkexString,sizeof(checkexString), "%s ( %i ) %s",ReturnPlayerName(targetid), targetid, IpEx);
GetPlayerCountryDataAsString(targetid, dat);
ShowPlayerDialog(playerid, 4874, DIALOG_STYLE_MSGBOX, checkexString, dat, "Close", "");
return 1;
}