/ocheck (offline Check CMD) +2 REP
#8

Using the script you are using(which obviously appears to be an NGG script(most likely the newest)) I believe they use the function "cache_get_field_content" to load data. For example,

Instead of doing:
cache_get_field_content(row, "ReceivedPrize", szResult, MainPipeline); PlayerInfo[extraid][pReceivedPrize] = strval(szResult);

You can do:
cache_get_field_content(row, "ReceivedPrize", szResult, MainPipeline); pCheckingPrize[playerid] = strval(szResult);

You get the point... Just do it like this and you should be fine.

Then, in the end to send the message(assuming your not going to be using a dialog to show the account's data),
format(string, sizeof(string), "%d %d bla bla bla", pCheckingPrize[playerid]);
SendClientMessage(playerid, -1, string);
Basically, your loading the data and formatting it into a string, which will send to the admin checking the account's stats.
Reply


Messages In This Thread
/ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 18:26
Re: /ocheck (offline Check CMD) +2 REP - by Barnwell - 23.06.2014, 18:29
Re: /ocheck (offline Check CMD) +2 REP - by [WSF]ThA_Devil - 23.06.2014, 18:37
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 18:46
Re: /ocheck (offline Check CMD) +2 REP - by Golf - 23.06.2014, 19:10
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 19:50
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 22:19
Re: /ocheck (offline Check CMD) +2 REP - by Abagail - 23.06.2014, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)