31.08.2011, 12:25
Hey,
I'am bussy with a new gamemode, you see in my sign ;p.
Okay,
In the topic of Sscanf say a space is dont return.
This is my output of a query:
[Databaseid]|[name]|[pass sha1]|[skin]|[adminlevel]|[viprank]|[vipexperdate]|[ip]|[money]|[level]|[kill]|[death]
Works good!
Now, i'am set in in Player Array's with:
So, the first 3 (Databaseid, name, pass) dont need.
and the IP dont need. (Spaces.)
When i'am going Ingame, my skin is 11 (My database id)
How can i fix this?
The spaces dont work.
Thanks!
I'am bussy with a new gamemode, you see in my sign ;p.
Okay,
In the topic of Sscanf say a space is dont return.
This is my output of a query:
[Databaseid]|[name]|[pass sha1]|[skin]|[adminlevel]|[viprank]|[vipexperdate]|[ip]|[money]|[level]|[kill]|[death]
Works good!
Now, i'am set in in Player Array's with:
pawn Код:
sscanf(savingstring,"p<|> iiis iii",
Playerdata[playerid][Skin],
Playerdata[playerid][Adminlevel],
Playerdata[playerid][Vip],
Playerdata[playerid][Vipexp],
money,
Playerdata[playerid][Level],
Playerdata[playerid][Kill],
Playerdata[playerid][Death]);
and the IP dont need. (Spaces.)
When i'am going Ingame, my skin is 11 (My database id)
How can i fix this?
The spaces dont work.
Thanks!