10.06.2011, 07:53
Hi, how to save and load player positions with Y_ini ?
I succesfuly made that players position gets saved, but how do i load it when player connects?
This is how i saved it.
The same problem is with interiors. I know how to save it but i cant understand how to load it
I succesfuly made that players position gets saved, but how do i load it when player connects?
This is how i saved it.
Код:
new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); INI_WriteFloat(PlayerAcc, "SpawnX", X); INI_WriteFloat(PlayerAcc, "SpawnY", Y); INI_WriteFloat(PlayerAcc, "SpawnZ", Z);