A question! - 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: A question! (
/showthread.php?tid=325597)
A question! -
Youice - 13.03.2012
Hello Im a new scripter in samp-forums...
First I was using "y_ini" to save and load last positions and making register system and every thing but after IDK what happened to it I get an error from it when I run " samp-server.exe " so I learned how to create {Every thing} except saving positions what all I know from it is
Код:
new FloatX, FloatY, FloatZ;
GetPlayerPos( playerid, PosX[ playerid ], PosY[ playerid ], PosZ[ playerid ] );
GetPlayerFacingAngle( playerid, Angle[ playerid ] );
My question is::How to make it? : D
I know its a stupid questions for pro. scripters like every one but I still need help , so if you know any thing even it was stupid for you please post it and thank you... :D!
Re: A question! -
IceCube! - 13.03.2012
Use the search button, I'm seriously feeling trolled today :@.
https://sampforum.blast.hk/showthread.php?tid=209510
Re: A question! -
Snipa - 13.03.2012
pawn Код:
new Float:x, Float:y, Float:z, Float:angle;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, angle);
//saving bit here
If you want it to be per player, make a global variable with MAX_PLAYERS attached so each player slot will have their own designated var.
Re: A question! -
Youice - 13.03.2012
Quote:
Originally Posted by IceCube!
|
well Im sorry for your trolling and BTW your post helped me much thanks...