Explain this for me, please .
#1

pawn Код:
sscanf(line, "p|ssdddds", data[0], data[1], data2[0], data2[1], data2[2], data2[3], data[2]);
 SetPVarInt(playerid, "Kills", data2[0]);
 SetPVarInt(playerid, "Logged", 1);
 SetPVarInt(playerid, "Deaths", data2[1]);
 SetPlayerScore(playerid, data2[2]);
 SetPVarInt(playerid, "MoneyGiven", data2[3]);
This is apart of the login command, using mysql and sscanf. Can someone explain to me how the datas work? Like how does
pawn Код:
etPVarInt(playerid, "MoneyGiven", data2[3]);
Give money? Thanks in advance to whoever explains this code to me .
Reply


Messages In This Thread
Explain this for me, please . - by Abreezy - 05.08.2011, 05:20
Re: Explain this for me, please . - by [HiC]TheKiller - 05.08.2011, 06:17
Re: Explain this for me, please . - by Abreezy - 05.08.2011, 06:56

Forum Jump:


Users browsing this thread: 1 Guest(s)