[SOLVED] Include Problem.
#1

SOLVED
Reply
#2

Don't you see a difference between:
pawn Код:
dini_Int(oyunism, "Money")
and:
pawn Код:
dini_Int(oyunism, "Position",SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]));
Use dini_IntSet, or something like that (i never used dini)

Also, You clearly can not do that. When you call SetPlayerPos it store coordinates into the 3 referenced arguments (PosX[playerid] etc)

So X value is stored into PosX[playerid], Y value in PosY[playerid] etc, and you have to save them separately, using dini_FloatSet (again, not sure).
Reply
#3

Quote:
Originally Posted by Nubotron
Don't you see a difference between:
pawn Код:
dini_Int(oyunism, "Money")
and:
pawn Код:
dini_Int(oyunism, "Position",SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]));
Use dini_IntSet, or something like that (i never used dini)

Also, You clearly can not do that. When you call SetPlayerPos it store coordinates into the 3 referenced arguments (PosX[playerid] etc)

So X value is stored into PosX[playerid], Y value in PosY[playerid] etc, and you have to save them separately, using dini_FloatSet (again, not sure).
Hehe lol
Thanks buddy The problem has been SOLVED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)