Vehicle Object
#1

Hey, I want to edit object vehicle with 0.3e object editor..
Is it posibble to do with this ?
pawn Код:
CustomMods[v] = CreateObject(modelid,0.0,0.0,0.0,0.0,0.0,0.0);
AttachObjectToVehicle(CustomMods[v], v, 0.0,0.0,0.0,0.0,0.0,0.0);
EditObject(playerid, CustomMods[v]);
Reply
#2

You'll want to create the object at the player's position, attach it to the vehicle, and THEN edit it.
Reply
#3

This Will Work?
pawn Код:
GetPlayerPos(playerid, X, Y, Z);
CustomMods[v] = CreateObject(modelid,X,Y,Z,0.0,0.0,0.0);
AttachObjectToVehicle(CustomMods[v], v, 0.0,0.0,0.0,0.0,0.0,0.0);
EditObject(playerid, CustomMods[v]);
Reply
#4

Actually, I'm looking into this now. It doesn't seem like when you use EditObject that the object stays attached to the vehicle...
Reply
#5

Okay, I've tested it, the object attached near the player, but it doesn't edit the object, can you help me ?
EDIT: Okay, the editobject is working when Im on foot, but why I cant edit the object in car ?
Reply
#6

Unfortunately, it seems like the 0.3e object editor doesn't support vehicle-attached objects. I found this FS, perhaps it will help you too!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)