13.09.2010, 20:40 
	(
 Last edited by Lewwy; 14/09/2010 at 05:51 PM.
					
					
						Reason: Changed title
)
	
	
		SEE BOTTOM POST
Why does the PVar return 0 on this?
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:
This still, returns 0.
	
	
	
	
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]);
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);

