SA-MP Forums Archive
Help me. - 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: Help me. (/showthread.php?tid=361282)



Help me. - Dasharkishanjan5 - 20.07.2012

Hello,
I am trying to shift all jobs, hospital spawn, etc.. positions. I am getting problem to find position code.
I am not talking about the position in script.
I did /save in game and add that code in script but it doesn't work.


I did this:-




And then I got error.

Is it right?
If no, then what to do?


Re: Help me. - Revo - 20.07.2012

C:\Users\USERNAME\Documents\GTA San Andreas User Files\SAMP\savedpositions.txt


Re: Help me. - Kindred - 20.07.2012

You are adding the whole thing into there. First find out what the parameters are: Lets say its like this: CreateDynamicMapIcon(PosX, PosY, PosZ, MapIconModel)

Then, lets say, you got a code like so:

CreateDyanmic3dTextDraw(LabelName[], PosX, PosY, PosZ, Color)

You would not just copy the whole thing, but the needed parameters.

EDIT: Notice, I rarely use streamers, considering I don't really make big scripts.


Re: Help me. - Steven82 - 20.07.2012

You're copying ALL the code from "AddStaticVehicle" in your saved positions file.

All you need are the X, Y, and Z.

These are the cords you need, "2234.1990, 84.6555, 26.4844"


Re: Help me. - Dasharkishanjan5 - 20.07.2012

Thanks.