Attaching a streamed object to a vehicle -
wups - 26.12.2010
How do I attach a streamed object to a vehicle? I use Incognito's plugin.
This doesn't work:
pawn Код:
Neon[0][vehicleid]= CreateDynamicObject(obj,0,0,0,0,0,0);
Neon[1][vehicleid]= CreateDynamicObject(obj,0,0,0,0,0,0);
AttachObjectToVehicle(Neon[0][vehicleid], vehicleid, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(Neon[1][vehicleid], vehicleid, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
Re: Attaching a streamed object to a vehicle -
kurta999 - 26.12.2010
Noway.
Streamed object is player object, and AttachPlayerObjectToVehicle didn't exist :S
Re: Attaching a streamed object to a vehicle -
wups - 26.12.2010
What should i do?
Re: Attaching a streamed object to a vehicle -
xomka - 26.12.2010
wait until Incognito includes this feature
Re: Attaching a streamed object to a vehicle -
kurta999 - 26.12.2010
No Incognito.
Wait until SA-MP team add AttachPlayerObjectToVehicle to SA-MP, or not add.
Re: Attaching a streamed object to a vehicle -
Rac3r - 26.12.2010
Not the best method, but you could use CreateObject to attach objects to vehicles.
Yes, using CreateObject and streaming objects with Incognito's streamer can cause streaming problems, but using it wisely does seem to work good.
Re: Attaching a streamed object to a vehicle -
Ricop522 - 26.12.2010
Try
pawn Код:
Neon[0] = CreateDynamicObject(18648,0,0,0,0,0,0);
Neon[1] = CreateDynamicObject(18648,0,0,0,0,0,0);
AttachObjectToVehicle(Neon[0][vehicleid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(Neon[1][vehicleid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
Re: Attaching a streamed object to a vehicle -
Sergei - 26.12.2010
Quote:
Originally Posted by Ricop522
Try
pawn Код:
Neon[0] = CreateDynamicObject(18648,0,0,0,0,0,0); Neon[1] = CreateDynamicObject(18648,0,0,0,0,0,0); AttachObjectToVehicle(Neon[0][vehicleid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(Neon[1][vehicleid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
|
Are you retarded or something? kurta999 told two times already that it's not possible until SA:MP team does something and you still post useless post.
Re: Attaching a streamed object to a vehicle -
wups - 26.12.2010
Quote:
Originally Posted by Rac3r
Not the best method, but you could use CreateObject to attach objects to vehicles.
Yes, using CreateObject and streaming objects with Incognito's streamer can cause streaming problems, but using it wisely does seem to work good.
|
Thats bad, because the objects limit will be reached quite soon...