SA-MP Forums Archive
Some help of the pros? :P - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Some help of the pros? :P (/showthread.php?tid=105791)



Some help of the pros? :P - yoennie - 31.10.2009

Hi all
Ive been searching for while for some tutorials in scripting
Now the only thing i would like to learn is creating a filterscript that will spawn objects where i place coordinates
Because i understand it a little but i dont get it with the coordinates they arent the same as /save coordinates so if anybody could tell me howto do this then if you have time reply here
Thx already


Re: Some help of the pros? :P - Danny_Costelo - 31.10.2009

https://sampwiki.blast.hk/wiki/


Re: Some help of the pros? :P - yoennie - 31.10.2009

I searched there it dont have tutorials bout that

I just want to know howto convert these coordinates to make it working...


Re: Some help of the pros? :P - radhakr - 31.10.2009

Do you have the correct parts from the savedpositions.txt output in the CreateObject function? This is how they match up:

AddPlayerClass(0,-465.4711,2140.1042,63.4417,310.8600,0,0,0,0,0,0); //
AddStaticVehicle(520,-446.2058,2119.2681,95.7637,338.8057,0,0); //

CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)