DogukanK Posted May 25, 2016 Share Posted May 25, 2016 Here is my code addEvent("jantsil", true) addEventHandler("jantsil", getRootElement(),function() local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local playermoney = getPlayerMoney ( source ) setAccountData ( playeraccount, "jant", 1026 ) end if isPedInVehicle(source) then local account = getPlayerAccount(source) if account then if getAccountData(account,"jant", 1025) then if tonumber(getAccountData(account,"cash")) >= 0 then addVehicleUpgrade(getPedOccupiedVehicle(source),1026) setAccountData(account,"cash",(tonumber(getAccountData(account,"cash")) or 0)+30000) outputChatBox ( "#fF1464[sHOP] #ffffffJantını Sıfırladın Ve 30K iade Aldın.", source, 0, 0, 0, true ) else outputChatBox ( "#fF1464[sHOP] #ff0000Bunu Sadece Bir Kere Kullanabilirsin", source, 0, 0, 0, true ) end end end end end) but code is still working not true its code information are wheel removed and money give back user but this code all times give money users be making money farming I how to fix it Link to comment
Dimos7 Posted May 26, 2016 Share Posted May 26, 2016 after see how mutch playes has put that takePlayerMoney 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