Jump to content

XeRo

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by XeRo

  1. Error Please Fix .
  2. Error Please Help Me. server.lua Code addEvent("nitroPickup", true) addEventHandler("nitroPickup", getRootElement(), function(player) if isPedInVehicle(source) then local account = getPlayerAccount(player) if account then if getAccountData(account,"cash") >= 1000 then --- change the string "cash" to what the money data is saved (cash,money) addVehicleUpgrade(getPedOccupiedVehicle(source),1010) setAccountData(account,"cash",-1000) --- change the string "cash" to what the money data is saved (cash,money) outputChatBox ( "Buy Nitro [$1000 ]", player, 0, 0, 0, true ) else outputChatBox ( "You enough to money", getRootElement(), 0, 0, 0, true ) end end end end )
  3. I want to Allow Purchased with money
  4. User Panel of Own It creates money with Purchased take Nitro ? Pİcture ScreenShot Upload ?
  5. Yes . Sorry my bad English Speak User Panel in The Player's Money with Nitro Purchased take want
  6. No, There's No Problem. I want the user Panel as well as take money with Nitro I have DD server. Custom Panel I did but I want to take with the benefit of the user panel Nitro?
  7. Hi Can You Help Me. I want Somebody with money such as Nitro Userpanel My Nitro Code (Server-side) addEvent("nitroPickup", true) addEventHandler("nitroPickup", getRootElement(), function(player) if isPedInVehicle(source) then addVehicleUpgrade(getPedOccupiedVehicle(source),1010) end end ) My Client Code (Client-side) addEventHandler("onClientGUIClick",root, function() if source == Nitro then triggerServerEvent("nitroPickup", getLocalPlayer()) local sound = playSound("pickup.mp3") setSoundVolume(sound, 0.5) end end )
×
×
  • Create New...