Jump to content
Sign in to follow this  
James222

Why can't I attachTo bis_fnc_spawnvehicle?

Recommended Posts

_acexrusu27 = [getPos player, 90, "ACE_Su27_CAP", EAST] call bis_fnc_spawnvehicle; player attachTo [_acexrusu27,[0,0,0]];

All that does is move the player under the plane(Its flying in the air) and make him unable to move his body sideways while he falls down to the ground. I want to attach him to the object not stick him under it and watch him die :(

Any clues?

Share this post


Link to post
Share on other sites

Because BIS_fnc_spawnVehicle doesn't return an object, it returns an array.

_acexrusu27 = [getPos player, 90, "ACE_Su27_CAP", EAST] call bis_fnc_spawnvehicle; 
player attachTo [_acexrusu27 select 0,[0,0,0]];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×