23.03.2013, 22:58
the db looks like this:
name-string
pass-string
pmoney int
pskin int
px-float
py-float
pz-float
lastconnection-string
and my enums are like this now
enum pEnumInfo
{
pMoney,
pSkin,
Float
X,
Float
Y,
Float
Z,
}
i put dashes cause i wanted to skip reading the strings and heard i can use "-". I still cant read the pmoney and pskin tho D:
name-string
pass-string
pmoney int
pskin int
px-float
py-float
pz-float
lastconnection-string
and my enums are like this now
enum pEnumInfo
{
pMoney,
pSkin,
Float

Float

Float

}
Код:
sscanf(savingstring,"p<|>e<-s[24]-s[24]iifff-s[100]>", PlayerInfo[playerid]);