Mark position on map (basing on Luby & Gamer_Z `s Map System) [solved] - 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: Mark position on map (basing on Luby & Gamer_Z `s Map System) [solved] (
/showthread.php?tid=144111)
Mark position on map (basing on Luby & Gamer_Z `s Map System) [solved] -
Trooper[Y] - 25.04.2010
Hey there.
I want to mark a position on the "map".
For this, i took this FS (
http://forum.sa-mp.com/index.php?topic=92723.0 ) and tried to modificate it.
Thats what i already tested out so far...
Код:
//Credits to Luby & Gamer_Z
//copied part begins here
new Float:DirX,Float:DirY,Float:DirZ;
DirX = 1931.7674;
DirY = -2417.5302;
DirZ = 1200.0000;
DirX = floatadd(DirX, floatmul(floatdiv(global_tracks[classid][startx], 3000.0), 1.7062));
DirY = floatadd(DirY, floatmul(floatdiv(global_tracks[classid][starty], 3000.0), 1.7577));
DirZ = floatadd(DirZ, floatmul(global_tracks[classid][startz], 0.001));
//and ends here
pickup_marker[playerid][0] = CreatePickup(1234,1,DirX,DirY,DirZ);
global_tracks[classid][start*] is the position i want to mark.
So i thought, this would work out so far.
But no, it doesnt.
I already wrote Luby a PM, but he doesnt answers.
So please help me out this time
Cheers,
Trooper
//solved