Out of curiosity..
#5

Quote:
Originally Posted by Lewwy
View Post
Yes I'm using 2.0. (Plugin, obviously)

I now have this:

pawn Code:
new username, password, ip, skin, factionid;

sscanf(line, "p<|>s[24]s[15]s[50]dd", username, password, ip, skin, factionid);

SetPVarInt(playerid, "Skin", skin);
And yet it is still setting me to CJ, in the table this is what is there:
Heres another thing...I'm guessing this sscanf line is in OnPlayerLogin or something?

Try adding something like this under OnPlayerSpawn.
pawn Code:
GetPVarInt(playerid, "Skin");
SetPlayerSkin(playerid, Skin);
if that doesn't work, try assigning a var to GetPVarInt (Sounds stupid I know).
I.e
new SetSkin = GetPVarInt(playerid, "Skin");
SetPlayerSkin(playerid, SetSkin);
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)