Out of curiosity..
#1

SEE BOTTOM POST

Why does the PVar return 0 on this?

pawn Code:
sscanf(line, "p|sssdd", username[24], password[15], ip[50], skin[3], factionid[2]);
SetPVarInt(playerid, "Skin", skin[3]);
In phpadmin the field is set to INT and is 11 characters long. (I know it shouldn't be, but even if I lower it or raise it the problem still occurs)

EDIT: I've also tried removing the arrays, for example:

pawn Code:
sscanf(line, "p|sssdd", username, password, ip, skin, factionid);
SetPVarInt(playerid, "Skin", skin);
This still, returns 0.
Reply


Messages In This Thread
SQL Hanging Fail? - by Lewwy - 13.09.2010, 20:40
Re: Out of curiosity.. - by Scenario - 13.09.2010, 21:11
Re: Out of curiosity.. - by Toni - 13.09.2010, 21:14
Re: Out of curiosity.. - by Lewwy - 14.09.2010, 07:04
Re: Out of curiosity.. - by Toni - 14.09.2010, 11:17
Re: Out of curiosity.. - by Lewwy - 14.09.2010, 15:47
Re: Out of curiosity.. - by Lewwy - 14.09.2010, 17:22
Re: Out of curiosity.. - by Lewwy - 15.09.2010, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)