20.08.2011, 00:59
Hello!
Im trying to add some rockets to rustler, but its not going so good.
i have created the objects:
And how about AttachObjectToVehicle? put it on OnGameModeInit? that didnt get the rockets in game,
even not with this cmd
So, what to do to make it right?
Im trying to add some rockets to rustler, but its not going so good.
i have created the objects:
pawn Код:
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
CreateObject( 3790,0,0,0,0,0,0,80 ); // Rustler Rocket
even not with this cmd
pawn Код:
COMMAND:load(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ, params[])
{
AttachObjectToVehicle(3790, 476, 2.200000, 1.700000, -1.000000, 93.000000, 271.000000, 0.000000 ); // Rustler Rocket
AttachObjectToVehicle(3790, 476, 2.699999, 1.700000, -0.899999, 0.000000, 2.000000, 270.000000 ); // Rustler Rocket
AttachObjectToVehicle(3790, 476, 3.269999, 1.660000, -0.820000, 0.000000, 2.000000, 271.699890 ); // Rustler Rocket
AttachObjectToVehicle(3790, 476, -2.040000, 1.710000, -1.000000, 0.000000, 1.700000, 270.000000 ); // Rustler Rocket
AttachObjectToVehicle(3790, 476, -2.629999, 1.700000, -0.949999, 0.000000, 1.600000, 269.000000 ); // Rustler Rocket
AttachObjectToVehicle(3790, 476, -3.209999, 1.700000, -0.830000, 0.000000, 1.000000, 268.700012 ); // Rustler Rocket
return 1;
}