rustler Posted January 1, 2011 Share Posted January 1, 2011 Hi all, How will I be able to check if a specific car is attached to the heli's magnet? I have spawned a greenwood car, picked it up with the heli magnet on a maverick. Now I just need to do some checking on this to carry on to drop car in a sphere. thanks Link to comment https://gtaforums.com/topic/466525-attach-car-to-heli-magnet/ Share on other sites More sharing options...
Nahiyan Posted January 1, 2011 Share Posted January 1, 2011 0798: get_crane_magnet $CRANE_MAGNET attached_car_handle_to 17@ attached_actor_handle_to 18@ attached_object_handle_to 19@ BTW if you don't want to get a handle, use -1 instead of it. I'm not sure if it'll work here though. And also, please use the opcode search tool or check the Opcode Database for opcodes you want to search for Link to comment https://gtaforums.com/topic/466525-attach-car-to-heli-magnet/#findComment-1060274573 Share on other sites More sharing options...
rustler Posted January 1, 2011 Author Share Posted January 1, 2011 Thanks Nahiyan It will help if one knows what to search for. I have looked at opcode 0798 but I'm not sure what the handles should be and what other opcode to use with it. And I also assume using "get" that it will give you a value to use in other opcodes to accomplish this. Link to comment https://gtaforums.com/topic/466525-attach-car-to-heli-magnet/#findComment-1060274662 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now