camera view on car
#7

Quote:
Originally Posted by HeLiOn_PrImE
Посмотреть сообщение
When I reset the camera, I need to destroy the object. how should I define it again in a separate callback?
define the object on the top of your script
new object[MAX_PLAYERS];

and to destroy it
DestroyObject(object[playerid]);
Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
REP ME PLZ

okay you need to getcarposition attach
new objectid = CreateObject(...);
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);

go to mta and create a object onto a car get the object the xyz and the xyz rotation and past it there and createobject with no position just create the object put the cords on the attach to car........... and there u have it attackobject to veh

REP ++ plz i need
Reply


Messages In This Thread
camera view on car - by HeLiOn_PrImE - 13.09.2012, 18:00
Re: camera view on car - by Faisal_khan - 13.09.2012, 18:03
Re: camera view on car - by HeLiOn_PrImE - 13.09.2012, 18:46
Re: camera view on car - by HuSs3n - 13.09.2012, 18:52
Re: camera view on car - by HeLiOn_PrImE - 13.09.2012, 18:56
Re: camera view on car - by trapstar2020 - 13.09.2012, 18:57
Re: camera view on car - by HuSs3n - 13.09.2012, 19:01
Re: camera view on car - by HeLiOn_PrImE - 13.09.2012, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)