Jump to content

jomarisk8er

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jomarisk8er

  • Rank
    Advanced Member

Details

  • Gang
    PinoyPride
  1. oh thats why im asking.. i cant pass this lol
  2. im using RP server, normal, im not doing any modes. i want to trigger it if the timer(not countdown) start, like, bankrobbery, theres a timer to rob right,
  3. they need to go in the marker so they can participate the racing, all on the markers will freeze and start countdown when the timer starts = /racetime like that
  4. ---client----- root = getRootElement() function Countdown (root) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(305,119,110,190,"images/10.png",false) setTimer ( Countdown9, 1000, 1 ) outputChatBox ( "countdown started", root, 255, 255, 255, true ) end function Countdown9 (root) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(305,119,110,190,"images/9.png",false) setTimer ( Countdown8, 1000, 1 ) end function Countdown8 (root) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage
  5. what should i change, i want to add command or timer for the race.. how? like if you type /racetime it will output how many time is remaining? lol sorry for too much question ..
  6. racemarker = createMarker(-2663.51,610,13.3,"cylinder",20,0,255,0,100) function start(hitElement) if not isPedInVehicle(hitElement) then return end if (source == racemarker) then local vehicle = getPedOccupiedVehicle(hitElement) setElementFrozen(vehicle,true) triggerClientEvent(hitElement,"startcountdown",hitElement) setTimer(setElementFrozen,10000,1,vehicle,false) end end addCommandHandler("cd",start) like this? its not working.
  7. oh its working, but how can i have a command for to start?, cause i want to set Timer, or Command to start the race.. how?
  8. racemarker = createMarker(192,182,13,"cylinder",20,0,255,0,100) function start(hitElement) if (source == racemarker) then for i,vehicle in ipairs(getElementByType("vehicle")) do setElementFrozen(vehicle,true) triggerClientEvent("startcountdown",hitElement) setTimer(setElementFrozen,10000,1,vehicle,false) end end addEventHandler("onMarkerHit",racemarker,start) is that right?
  9. ---server--- function start(thePlayer) for i, vehicle in ipairs(getElementsByType("vehicle")) do setElementFrozen(vehicle, true) setElementFrozen(thePlayer,true) triggerClientEvent("startcountdown",getRootElement()) setTimer(setElementFrozen,10000,1,vehicle,false) setTimer(setElementFrozen,10000,1,thePlayer,false) end end addCommandHandler("countdown",start) ---client--- root = getRootElement() function Countdown (root) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(305,119,110
  10. oh sorry, im removing it cause for its much messy. sorry
  11. -----client--- local robberHouses = { {240.7,-1377,52.2}; {192.2,-1307.8,69.3}; {210.6,-1237.8,77.3}; {237.6, -1200.7,75.1}; {316.6,-1138,80.5}; {434,-1136.8,72.7}; {485.3,-1155.2,70.6}; {485.1,-1116.8,81.3}; {561,-1111.4,61.8}; {566.5,-1099,68}; {610.6,-1083.2,57.8}; {647.1,-1057.7,51.5}; {671.1,-1019,54.7}; {743.4,-1006.9,51.7}; {785.4,-826.9,69.2}; {809.7,-758.7,75.5}; {849.6,-743.9,93.9}; {866.7,-710.3,104.6}; {895.2,-793.9,100.4}; {895.1,-645.3,115.9}; {952,-720.2,121.2}; {992.8,-697.6,120.6}; {977.6,-768.1,111.2}; {1047.6,-656.1,119.1}; {1094.9,-662.6,11
  12. thanks castillo it works. Edit: castillo, can i have request? can you put gang color so i can apply it in turfing system? .. pls
  13. i attached the radio to the vehicle, but the sound is staying at one place. and the sound is in client side
×
×
  • Create New...