VenomOG Posted August 28, 2017 Share Posted August 28, 2017 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
VenomOG Posted August 28, 2017 Author Share Posted August 28, 2017 Any one can help me? Link to comment
Moderators IIYAMA Posted August 28, 2017 Moderators Share Posted August 28, 2017 2 hours ago, IIYAMA said: Help first yourself... OMCow! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now