PivityGmodStore

Setting up VCMod as a reward

Even though VCMod works in a very dynamic nature, you can still set it up to work with pCasino. It just takes a few more steps.

  1. Ensure that you have some way to run client side lua. You can do this by either:
  2. Temporarily enabling sv_cheats 1
  3. Temporarily enabling sv_allowcslua 1
  4. If you do either of the above, it is suggested that you do not do it on a populated server and immediately disable it when done.
  5. Set up a VCMod Car Dealer (Or go to an existing one).
  6. Add the vehicle you want to be used as a reward.
  7. Purchase and spawn that vehicle.
  8. Look at the vehicle and run the following console command (in your game console) lua_run_cl print(LocalPlayer():GetEyeTrace().Entity:VC_CD_getVehicleID())
  9. You console should return something like the following: models/freeman/vehicles/electric_go-kart.mdl$$$_VC_$$$Go-Kart$$$_VC_$$$0. This is the unique ID that VCMod will use to identify the vehicle. Copy it.
  10. Open up the pCasino entity creation tool and set up the entity you wish to put the reward in.
  11. When prompted to set up the Wheel Settings for that reward, input the string you copied from step 6. It should look something like this.
  12. Sell the vehicle in the car dealer and test the wheel to see if it works.
  13. Profit?

Can't find what you're looking for?

Contact support