move object
#1

can i move object after i attach it to vehicle?
example:
pawn Код:
CMD:secret(playerid,params[])
{
new Float:x1,Float:y1,Float:z1,Float:a;
GetPlayerPos(playerid,x1,y1,z1);
:P = CreateObject(1609, x1, y1 + 3, z1, 0.0, 0.0, a);
XD = CreateVehicle(441,x1,y1 + 3,z1,a,-1,-1,-1);
AttachObjectToVehicle(:P, XD, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
MoveObject(:P,x1,y1,z1,100000);
return 1;
}
Reply


Messages In This Thread
move object - by Horrible - 24.09.2011, 23:25
Re: move object - by [MG]Dimi - 25.09.2011, 13:03
Re: move object - by Max_Coldheart - 25.09.2011, 13:10
Re: move object - by [MWR]Blood - 25.09.2011, 13:10
Re: move object - by Max_Coldheart - 25.09.2011, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)