24.09.2011, 23:25
can i move object after i attach it to vehicle?
example:
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;
}