Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Toejam

#1
Hello! I am immensely grateful to you and the author of GTA Connected for the opportunity to play with a friend in "single mode" online! You wrote on GitHub that you are not going to support the script. I would like to continue its development. I have a small team with a programmer and a tester. At the moment, we are studying the GTA Connected wiki and some difficulties are arising.

Tell me, does GTA Connect support the drive-by option? When a passenger, while in a car, can shoot from it, like gangs?

I have a example from MTA

P.S. I use google translator, I'm from Russia
function setDoingDriveby ( )
        -- we check if local player isn't currently doing a gang driveby
        if not isPedDoingGangDriveby ( localPlayer ) then
                -- if he got driveby mode off, turn it on
                setPedWeaponSlot ( localPlayer, 4 )
                setPedDoingGangDriveby ( localPlayer, true )
        else
                -- otherwise, turn it off
                setPedWeaponSlot ( localPlayer, 0 )
                setPedDoingGangDriveby ( localPlayer, false )
        end
end
addCommandHandler ( "driveby", setDoingDriveby )