Login camera issue, - 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: Login camera issue, (
/showthread.php?tid=518512)
Login camera issue, -
Laure - 10.06.2014
I tried to make a system by which during login the camera would be showing the last place the player quitted from certain height and also a little bit bit behind the player, but it doesnt seem to work, can i know the basic thing i shall do to make it, When i tried saving last cam pos and loading it on login the camera would always show blueberry.
Re: Login camera issue, -
RenovanZ - 10.06.2014
May you show your code which save player's cam pos.
Re: Login camera issue, -
Laure - 10.06.2014
I dont add it to public variable, rather save it when player disconnects upon ClearChat something like this
pawn Код:
new Float:cX, Float:cY, Float:cZ;
GetPlayerCameraPos(playerid, cX, cY, cZ);
Re: Login camera issue, -
Rittik - 10.06.2014
You have to save and write the position using INI, then load it when player player connects or requests class.
Re: Login camera issue, -
Laure - 10.06.2014
You mean its not possible to save it without dini?
Re: Login camera issue, -
RenovanZ - 10.06.2014
Its possible, you just need to store your code to dini.
Re: Login camera issue, -
Laure - 10.06.2014
All i did is above whats my mistake and why is it showing Blueberry? Anybody knows