hi, ich wollte fragen wie man raketen oder andere objecte schießen kann(gerrade aus, wo man hin zielt), so wie in diesem video:
Wie kann man die Flugbahn der Rakete scripten?
---
könnte es mit dem gehen?
new			Float:fPX, Float:fPY, Float:fPZ,
			Float:fVX, Float:fVY, Float:fVZ,
			Float:object_x, Float:object_y, Float:object_z;
 
		// Change me to change the scale you want. A larger scale increases the distance from the camera.
		// A negative scale will inverse the vectors and make them face in the opposite direction.
		const
			Float:fScale = 5.0;
 
		GetPlayerCameraPos(playerid, fPX, fPY, fPZ);
		GetPlayerCameraFrontVector(playerid, fVX, fVY, fVZ);
 
		object_x = fPX + floatmul(fVX, fScale);
		object_y = fPY + floatmul(fVY, fScale);
		object_z = fPZ + floatmul(fVZ, fScale);
 
		 
		
		
	