Scripters,please click here
#1

I need your help.

If you can make for me full FS how to attach object to vehicle,and to "freeze" that attached objects.
And i want when i connect,to load that object to vehicle

Thank you guys
Reply
#2

Wrong thread: https://sampforum.blast.hk/showthread.php?tid=187229
Reply
#3

Anyway it's easy
use these:

Код:
new carobject;
new targetvehicle;

public OnGameModeInit()
{
	carobject = CreateObject([modelid],[x co-ordinate], [y co-ordinate], [z co-ordinate], [x rotation], [y rotation],[z rotation], [draw distance]); // I suggest you to put 0.0,0.0,0.0 for co-ordinates ;)
	targetvehicle = CreateVehicle([vehicleid],[x co-ordinate], [y co-ordinate], [z co-ordinate], [rotation], [colo1],[color2],[respawn delay]);
	AttachObjectToVehicle(carobject,targetvehicle, [position X], [position Y], [position Z], [rotation X], [rotation Y], [rotation Z]);
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)