Object ID: Plane - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Object ID: Plane (
/showthread.php?tid=129638)
Object ID: Plane -
jamie009 - 23.02.2010
Ok can any one give me a object id for a plane? or Show me how to use like e.g. hydra as a object or something
Re: Object ID: Plane -
Onyx09 - 23.02.2010
create the vehicle id with a name like
new HydraObject;
HydraObject = CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
etc you know
then
on player entervehicle check if is a hydraobject
RemovePlayerFromVehicle
or
SetVehicleParamsForPlayer(playercarid[playerid],i,0,1);
or both xD
giving you the idea on how to do it :P
Re: Object ID: Plane -
jamie009 - 23.02.2010
Код:
Plane = CreateObject(-objectid-, x-20, y, z+20, 0, 0, 0);
MoveObject(Plane, x, y, z+20, 1.8);
I need like a planeobject id so I can move it while on the script?
Re: Object ID: Plane -
Onyx09 - 23.02.2010
then use ****** and type for Samp objects ids?
Re: Object ID: Plane -
jamie009 - 23.02.2010
Yes, but I can't find the object id for a plane thats why I was asking if theres another way to go about it.