need to save facing angle and interrior and the virtual world - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need to save facing angle and interrior and the virtual world (
/showthread.php?tid=366534)
deleted -
Joe Vagos - 06.08.2012
deleted
Re: need to save facing angle and interrior and the virtual world -
shitbird - 06.08.2012
OnPlayerDisconnect:
pawn Код:
dini_SetInt(file, "interior", GetPlayerInterior(playerid));
dini_SetFloat(file, "angle", GetPlayerFacingAngle(playerid));
OnPlayerSpawn.
pawn Код:
SetPlayerInterior(playerid, dini_Int(file, "interior");
SetPlayerFacingAngle(playerid, dini_Float(file, "angle");
Tip: Use Y_INI.
Re: need to save facing angle and interrior and the virtual world -
Joe Vagos - 06.08.2012
ty bro. i appericate it but i think that dini is saving well, and i tried yini but it doesnt work to me so plz if u have time try to convert it to yini