14.06.2011, 22:02
How i save the position of a player when he logs off and then load it when he logs back in and spawns,
I tought of some floats like
new Float,
Float:y,
Float:z;
Or something like it and putting them to get the xyz pos of him and saving it in a file , but i don't know how to exactly do it and i totaly suck at saving variables i don't even know how to save it to a file it's fcreate or something?
If someone can help me it'll be apreciated , thanks in advance.
I tought of some floats like
new Float,
Float:y,
Float:z;
Or something like it and putting them to get the xyz pos of him and saving it in a file , but i don't know how to exactly do it and i totaly suck at saving variables i don't even know how to save it to a file it's fcreate or something?
If someone can help me it'll be apreciated , thanks in advance.