Jump to content

[Race][Help]Get money and points if win?


hutin123

Recommended Posts

Posted

Hi guys! i'm new here. Anybody can help me this?

If get hunter in Race DM will get money and points, i had column Money but no have a points column.

Thank you.

Posted
function hunter(number,sort,model) 
    if sort == "vehiclechange" then 
        if model == 425 then 
            --do something 
        end 
    end 
end 
addEventHandler("onPlayerPickUpRacePickup",root,hunter) 

Posted
can you show me details, if i want this:

Get hunter will earn 2000$ and 2 points

Where i put that code?

u have the database with table cash and points?

Post here the name if u have this.

Posted
function hunter(number,sort,model) 
    if sort == "vehiclechange" then 
        if model == 425 then 
            --do something 
        end 
    end 
end 
addEventHandler("onPlayerPickUpRacePickup",root,hunter) 

I try this, thx but if i get many hunter same time, the money will be x2, x3,.... even x10 . OMG, can fix it?

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...