Jump to content

Stevenson.

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Gang
    COG

Stevenson.'s Achievements

Member

Member (5/54)

0

Reputation

  1. Where Drug God-Speed-...
  2. function closeChangeJobWindow() if (source == closeButton) then guiSetVisible(transWindow, false) showCursor(false) end end addEventHandler("onClientGUIClick", getResourceRootElement(getThisResource()), closeChangeJobWindow) function lsjobcli() if (source == acceptButton) then if (guiRadioButtonGetSelected(lsButtonRadio)) then triggerServerEvent ("givePlayerJobLS",getLocalPlayer()) guiSetVisible(transWindow, false) showCursor(false) end end end addEventHandler("onClientGUIClick", acceptButton, lsjobcli, false ) function lvjobcli() if (source == acceptButton) then if (guiRadioButtonGetSelected(lvButtonRadio)) then triggerServerEvent ("givePlayerJobLV",getLocalPlayer()) guiSetVisible(transWindow, false) showCursor(false) end end end addEventHandler("onClientGUIClick", acceptButton, lvjobcli, false ) function sfjobcli() if (source == acceptButton) then if (guiRadioButtonGetSelected(sfButtonRadio)) then triggerServerEvent ("givePlayerJobSF",getLocalPlayer()) guiSetVisible(transWindow, false) showCursor(false) end end end addEventHandler("onClientGUIClick", acceptButton, sfjobcli, false )[/lua] SERVER function lsjobser () car = createVehicle (440, 2460.52, -2004.38, 13.54) warpPedIntoVehicle(source, car) markerLS = createMarker (1784.78, -1702.06, 12.50, "cylinder", 2, 255, 0, 0, 255) blipLS = createBlipAttachedTo (markerLS, 40) end addEvent ("givePlayerJobLS", true) addEventHandler ("givePlayerJobLS", root, lsjobser) function moneyLS (attacker) if (attacker) and (attacker ~= source) then givePlayerMoney(attacker, 3000) destroyElement(markerLS) destroyElement(blipLS) destroyElement(car) end end addEventHandler( "onMarkerHit", root, moneyLS ) function lvjobser () carlv = createVehicle (440, 2460.52, -2004.38, 13.54) warpPedIntoVehicle(source, carlv) markerLV = createMarker (1074.43, 1292.71, 9.82, "cylinder", 2, 255, 0, 0, 255) blipLV = createBlipAttachedTo (markerLV, 40) end addEvent ("givePlayerJobLV", true) addEventHandler ("givePlayerJobLV", root, lvjobser) function moneyLV (attacker) if (attacker) and (attacker ~= source) then givePlayerMoney(attacker, 6000) destroyElement(markerLV) destroyElement(blipLV) destroyElement(carlv) end end addEventHandler( "onMarkerHit", root, moneyLV ) function sfjobser () carSF = createVehicle (440, 2460.52, -2004.38, 13.54) warpPedIntoVehicle(source, carSF) markerSF = createMarker (-2052.80, 144.87, 27.83, "cylinder", 2, 255, 0, 0, 255) blipSF = createBlipAttachedTo (markerSF, 40) end addEvent ("givePlayerJobSF", true) addEventHandler ("givePlayerJobSF", root, sfjobser) function moneySF (attacker) if (attacker) and (attacker ~= source) then givePlayerMoney(attacker, 10000) destroyElement(markerSF) destroyElement(blipSF) destroyElement(carSF) end end addEventHandler( "onMarkerHit", root, moneySF ) What I want I want to make this only possible for teams called "Yakuza" and "The Triads". What I tried I added in the end of the Server sided this: if getPlayerTeam == "Yakuza" or "The Triads" But it didn't worked, please help.
  3. Please MADE can u make drug system pleaseeeeeee
  4. Who Player Can u Give me DFR please
  5. I told you on a ped not on the localPlayer please bro Give me ped
  6. Man I Need Help And I Don't Have Money Yo Can Help me help me u Don't Help me ....
  7. Hello Guyz Who Can u Give me DFR only Drugs please ALL
  8. Stevenson.

    Help :(

    hello all i want a small dxDrawText on a ped in front of LSPD Thanks
×
×
  • Create New...