Jump to content

xtc_velns

Members
  • Posts

    1
  • Joined

  • Last visited

xtc_velns's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. So this script doesnt work. It is Client-side and it has worked on my previous roleplay servers but now it does nothing local burnoutTimer = {} local player = localPlayer function popTheTires(player) setVehicleWheelStates(getPedOccupiedVehicle(player),-1, 1,-1, 1) end function burnoutTheTires(player,key) if (key == "accelerate" and getPedControlState (player,"brake_reverse") == true) or (key == "brake_reverse" and getPedControlState (player,"accelerate") == true) then burnoutTimer[player] = setTimer(popTheTires,2000,1,player) end end function unpressedTheKeys(player) if (isTimer(burnoutTimer[player])) then killTimer(burnoutTimer[player]) end end for i,v in ipairs(getElementsByType("player")) do --bindKey("accelerate","down",burnoutTheTires) --bindKey("brake_reverse","down",burnoutTheTires) bindKey("accelerate","up",unpressedTheKeys) bindKey("brake_reverse","up",unpressedTheKeys) end function joinBinds() bindKey("accelerate","down",burnoutTheTires) bindKey("brake_reverse","down",burnoutTheTires) bindKey("accelerate","up",unpressedTheKeys) bindKey("brake_reverse","up",unpressedTheKeys) end addEventHandler("onClientResourceStart",getRootElement(getThisResource()),joinBinds) i have tried everything in my knowledge but nothing seems to work. Can somebody help?
×
×
  • Create New...