Forum: GTA IV Misc. / Other


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree1Likes
  • 1 Post By rock4259

Thread: [REQ] - Need an online tester
  

Results 1 to 9 of 9
  1. #1 [REQ] - Need an online tester 
    JDMAlex's Avatar
    JDMAlex is offline & developer
    Join Date
    Nov 2010
    Posts
    723
    Downloads
    5
    Uploads
    1
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    190
    Likes Received
    442
    Hey folks.. Need some peeps to test this out ..

    Its the example from three socks for picking up cars with any helicopter but I have added some new natives to allow you to pick up other online players cars I cant test to see if it works thats where you guys come in.

    You will need to add the sco in yourself you can get it here 1_AnyHeliLift.sco.

    instructions:


    Activate the script and get into a Helicopter and then press L3 to pickup your buddies vehicle / other players.. if it works let me know , thanks.
    Reply With Quote  

  2. #2  
    rock4259's Avatar
    rock4259 is offline Crescent Fresh
    Join Date
    Aug 2012
    Posts
    6
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    4
    tested froze when pressing L3 in a annihilator and over a car
    JDMAlex likes this.
    Reply With Quote  

  3. #3  
    JDMAlex's Avatar
    JDMAlex is offline & developer
    Join Date
    Nov 2010
    Posts
    723
    Downloads
    5
    Uploads
    1
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    190
    Likes Received
    442
    Ok thank you .. I think I know what it is. I'll make sure to test it for freezing beforehand next time !
    Reply With Quote  

  4. #4  
    spadger's Avatar
    spadger is offline Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    141
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Quote Originally Posted by JDMAlex View Post
    Ok thank you .. I think I know what it is. I'll make sure to test it for freezing beforehand next time !
    Hi Alex, I've made one of these, if you want any help with the net Id requesting just shout
    Reply With Quote  

  5. #5  
    JDMAlex's Avatar
    JDMAlex is offline & developer
    Join Date
    Nov 2010
    Posts
    723
    Downloads
    5
    Uploads
    1
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    190
    Likes Received
    442
    Ok thank you!

    can you tell me what i did wrong with netid?

    Code:
    /**
     * This file is from https://bitbucket.org/ThreeSocks/gtaiv-example-mods/
     *
     * By Three-Socks
     *
     * Picks up a vehicle while in the skylift.
     *
     */
    
    #include <natives.h>
    #include <common.h>
    #include <strings.h>
    #include <types.h>
    #include <consts.h>
    
    #define BUTTON_STICK_LEFT 0x12
    
    
    
    Vehicle v_attach;
    bool pickedup = false;
    
    void LocateVehicle(float warp_x, float warp_y, float warp_z)
    {
    	v_attach = GET_CLOSEST_CAR(warp_x, warp_y, warp_z, 15.00000000, 0, 70);
    	if (!DOES_VEHICLE_EXIST(v_attach))
    	{
    		v_attach = GET_CLOSEST_CAR(warp_x, warp_y, warp_z, 15.00000000, 0, 69);
    	}
    	if (!DOES_VEHICLE_EXIST(v_attach))
    	{
    		v_attach = GET_CLOSEST_CAR(warp_x, warp_y, warp_z, 15.00000000, 0, 71);
    	}
    }
    
    void pickupVehicle(void)
    {
    	float locate_x, locate_y, locate_z;
    	GET_CHAR_COORDINATES(GetPlayerPed(), &locate_x, &locate_y, &locate_z);
    	LocateVehicle(locate_x, locate_y, locate_z);
    	if (DOES_VEHICLE_EXIST(v_attach))
    	{
    		int networkid;
    		GET_NETWORK_ID_FROM_VEHICLE(v_attach, &networkid);
    		REQUEST_CONTROL_OF_NETWORK_ID(networkid);
    		SET_NETWORK_ID_CAN_MIGRATE(networkid,false);
    
    		Vehicle veh_skylift;
    		float skylift_heading, v_attach_x, v_attach_y, v_attach_z, v_attach_height;
    		GET_CAR_CHAR_IS_USING(GetPlayerPed(), &veh_skylift);
    
    		FREEZE_CAR_POSITION(v_attach, true);
    
    		GET_CAR_HEADING(veh_skylift, &skylift_heading);
    		GET_CAR_COORDINATES(v_attach, &v_attach_x, &v_attach_y, &v_attach_z);
    
    		SET_CAR_HEADING(v_attach, skylift_heading);
    
    		v_attach_height = GET_HEIGHT_OF_VEHICLE(v_attach, v_attach_x, v_attach_y, v_attach_z, false, true);
    
    		float offset_y = -2.80000000, offset_z = 0.65;
    		
    		if (IS_BIG_VEHICLE(v_attach))
    		{
    			offset_y = -3.50000000, offset_z = 0.90;
    		}
    		ATTACH_CAR_TO_CAR(v_attach, veh_skylift, 0, 0.00000000, -2.80000000, v_attach_height - 0.63, 0.00000000, 0.00000000, 0.00000000);
    
    		pickedup = true;
    	}
    }
    
    void main(void)
    {
    	THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    	
    	while(true)
    	{
    		WAIT(0);
    		if (IS_PLAYER_PLAYING(GetPlayerIndex()) && IS_CHAR_IN_ANY_HELI(GetPlayerPed()) && IS_BUTTON_JUST_PRESSED(0, BUTTON_STICK_LEFT))
    		{
    			if (pickedup)
    			{
    				pickedup = false;
    				if (DOES_VEHICLE_EXIST(v_attach))
    				{
    					FREEZE_CAR_POSITION(v_attach, false);
    					DETACH_CAR(v_attach);
    				}
    			}
    			else
    			{
    				pickupVehicle();
    			}
    		}
    	}
    }
    Reply With Quote  

  6. #6  
    spadger's Avatar
    spadger is offline Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    141
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Hi alex, i think you are way off with the whole thing. I think the best thing i can do for you is give you my source of the skylift, its based on threesocks's skylift but quite modified from his and also with the online players stuff. If you could just keep the source to yourself for now i would appreciate it. I'll email it to you if you give me an address ok. Don't hesitate to contact me if you're not sure on anything, but you are more experienced in modding gta than i am so youll understand it. Also if you have any ideas to make it better please do.
    Reply With Quote  

  7. #7  
    JDMAlex's Avatar
    JDMAlex is offline & developer
    Join Date
    Nov 2010
    Posts
    723
    Downloads
    5
    Uploads
    1
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    190
    Likes Received
    442
    Quote Originally Posted by spadger View Post
    Hi alex, i think you are way off with the whole thing. I think the best thing i can do for you is give you my source of the skylift, its based on threesocks's skylift but quite modified from his and also with the online players stuff. If you could just keep the source to yourself for now i would appreciate it. I'll email it to you if you give me an address ok. Don't hesitate to contact me if you're not sure on anything, but you are more experienced in modding gta than i am so youll understand it. Also if you have any ideas to make it better please do.

    ok , big thanks if you could send me your file to jdmalex2@hotmail.ca I will keep it to my self and also if you need anything that I made I could share no problem all though most of it is currently public.
    Reply With Quote  

  8. #8  
    Anonreporter is offline Member
    Join Date
    Jun 2012
    Posts
    17
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    6
    i can test on my xkey im on the 360 if you ever need testing my skype is lesnar6662000
    Reply With Quote  

  9. #9  
    spadger's Avatar
    spadger is offline Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    141
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Quote Originally Posted by Anonreporter View Post
    i can test on my xkey im on the 360 if you ever need testing my skype is lesnar6662000
    Thanks fella but I made it a while ago so it's quite mature now, on pc and Xbox.
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •