25.04.2010, 18:14
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...
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
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);
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