Jump to content

Help


VenomOG

Recommended Posts

Quote

addEvent("buyDrug", true) addEventHandler("buyDrug", getRootElement(), function (drug) if getPlayerMoney(source) < 8000 then return end if hasPlayerDrugSeed(source) then return exports.URGMessages:sendClientMessage("Drug Dealer: You already have a drug seed!",source, 255, 0, 0) end takePlayerMoney(source, 8000) exports["URGInventory"]:addPlayerItem(source, tonumber(dn2[drug]), 1) exports.URGMessages:sendClientMessage("Drug Dealer: You bough a drug seed for 8,000$",source, 0, 255, 0) end)

When i do this the Drug Seed dosn't Add to the Inventory any help?

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