It doesn't save pos
#1

I just putted in the save position and it doesn't save it when you logout.

http://pastebin.com/E5CWb7LC
Reply
#2

Add these lines inside public loadaccount_user(playerid, name[], value[]):
pawn Код:
INI_Float("PositionX",PosX[playerid]);
INI_Float("PositionY",PosY[playerid]);
INI_Float("PositionZ",PosZ[playerid]);
INI_Float("Angle",Angle[playerid]);
INI_Int("Interior", Interior[playerid]);
INI_Int("VirtualWorld", VirtualWorld[playerid]);
and delete the loaduserposition callback.

EDIT: i wrote wrong variables before
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)