Loading data
#1

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 ?

It will not be a problem somewhere in retrieving data PlayerCountryData?

Original script from S&S By Southclaw https://github.com/Southclaw/Scaveng...er/country.pwn

http://pastebin.com/raw/BtejMT3g (Include base.pwn)

The entire code

Код:
#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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)