Jump to content

GroundPickups


Recommended Posts

    So hello guys, I found this script but I need some changes about it

1.I want to pickups to be black or orange, idk if black is possible

2.When you go on it u instantly pick it up, remove the gui and if you got an ak and on the ground is m4, you will get more ak bullets, just a little bit smaller amount, if not it's okey.

3. Smaller the existing period cuz it's just too long, do it like for a 30seconds

The full script:

https://community.multitheftauto.com/index.php?p=resources&s=details&id=1474

 

And i thought u could do something with this, I just couldn't do it

local function onDeathPickupHit ( player, matchingDimension )
    if matchingDimension then
        killTimer ( timers[source] )
        timers[source] = nil
        removeEventHandler ( "onPickupHit", source, onDeathPickupHit )
        local weapid = getPickupWeapon ( source )
        local weapammo = getPickupAmmo ( source )
        destroyElement ( source )
        giveWeapon ( player, weapid, weapammo, false )
    end
end

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...