Building Floats
#2

You could go through all the models you want and save offsets based on the model then use the allobject array to translate your offsets for every instance of an object in game.

https://sampforum.blast.hk/showthread.php?tid=415397

https://pastebin.com/2E1zvxn7
Specifically the function at line 509
Код:
AttachObjectToObjectEx(attachoid, Float:off_x, Float:off_y, Float:off_z, Float:rot_x, Float:rot_y, Float:rot_z, &Float:X, &Float:Y, &Float:Z, &Float:RX, &Float:RY, &Float:RZ, pobject = -1) // By Stylock - http://forum.sa-mp.com/member.php?u=114165
Reply


Messages In This Thread
Building Floats - by NoteND - 07.05.2018, 20:43
Re: Building Floats - by Pottus - 08.05.2018, 00:40

Forum Jump:


Users browsing this thread: 2 Guest(s)