Jump to content

Dimos7

Members
  • Posts

    1,546
  • Joined

  • Last visited

Everything posted by Dimos7

  1. function antiBunnyHoppe() if getPedMoveState(localPlayer) == "Jamp" and getPedMoveState(localPlayer) == "Sprint" then setPedAnimation(localPlayer, "ped', "FALL_front") end end
  2. function bunnyhope() if isWorldSpecialPropertyEnabled("extrabuny") then setPedAnimation(localPlayer, "ped", "FALL_front") end end
  3. I think that is you ask for function bunnyhope() if isWorldSpecialPropertyEnabled("extrabuny") then --- put that amunations or what you want here end end
  4. Dimos7

    ?

    function onConnect() outputChatBox(getPlayerName(source).. "has just connected to server.", root, 211, 211, 211) end addEventHandler("onPlayerConnect", root, onConnect)
  5. Dimos7

    Fade sound

    setSoundVolume
  6. create a new folder name it as you like same that script with .lua and make a meta
  7. function Wasted() skin = getPedSkin(source) setElementModel(source, skin) end addEventHandler("OnPlayerWasted", root, Wasted)
  8. Dimos7

    SOLVED

    Try that not tested local spots = { { 2490.173828125, -1670.1630859375, 12.3 }, { 2492.6298828125, -1675.1650390625, 12.3 } } for k,v in ipairs( spots ) do marker = createMarker ( v[1],v[2],v[3], "Cylinder", 1, 255, 255, 255, 100 ) end function MarkerHit ( hitPlayer, matchingDimension ) if (hitPlayer == localPlayer) then if isPedInVehicle(hitPlayer) then return; end guiSetVisible(window, true) showCursor(true) setElementData( localPlayer, 'm', { source_ = source, pos = {getElementPosition (source) } } ) end end addEventHandler ( "onClientMarkerHit", marker, MarkerHit )
  9. He mean a lobby for multy modes race etc
  10. after see how mutch playes has put that takePlayerMoney
  11. why you put ped in dimession 1 also what /debugscript 3 say?
  12. function Comands(cmd) if cmd == "reconnect" or cmd =="quit" then cancelEvent() end end addEventHandler("onPlayerCommand", root, Comands)
  13. you can't see the marker now?
  14. local markerKupnaSkina = createMarker(161.30000305176, -83.900001525879, 1000.799987793, "cylinder", 1, 0,0,255,255) setElementInterior(markerKupnaSkina, 18) function TeleportDoSkinShop(player) if getElementType(player)=="player" then if source == wejscie then setElementPosition(player, 161.60000610352, -95.699996948242, 1001.799987793) setElementInterior(player, 18) setElementInterior(wyjscie, 18) setElementInterior(sprzedawca, 18) setElementFrozen(player, true) setTimer(setElementFrozen,30000,1,player,false) end end end addEventHandler("onMarkerHit", wejscie, TeleportDoSkinShop) function WybierzSkina(player) if getElementType(player)=="player" then if source == markerKupnaSkina then triggerClientEvent(player, "onSkinMarkerHit", player) triggerClientEvent(player, "onClientResourceStart", player) end end end addEventHandler("onMarkerHit", markerKupnaSkina, WybierzSkina)
  15. yes because in 2 argument need the marker
  16. i think you need window for make a gridlist and put false and true the window guiCreateWindow
  17. Dimos7

    AttachElements

    function getWeapon() local PedWeapon = getPedWeapon(localPlayer, 5) if PedWeapon == 30 then weapon = createWeapon("m4", 0, 0, 0) attachElements(weapon, PedWeapon, 0, 0, 1, 0, 0, 0) end end addCommandHandler("t", getWeapon)
  18. Dimos7

    AttachElements

    Try that function getWeapon() local PedWeapon = getPedWeapon(localPlayer) if (PedWeapon == 30) then loceal weapon = createWeapon("m4", 0, 0, 0) attachElements(weapon, PedWeapon, 0, 0, 1, 0, 0, 0) end end addCommandHandler("t", getWeapon)
  19. mate that is from the wiki
  20. createVehicle(model, x, y, z , rx, ry, rz) i hope that will help
  21. local blip = createBlip ( 1953.40, 2162.52, 10.49 , 27 , 2 , 99999.0 ) local m1 = createMarker(1953.40, 2162.52, 10.49, "cylinder", 4.0, 255, 0, 0) function naprawa ( hitElement,playerSource, matchingDimension ) pojazd = getPedOccupiedVehicle(playerSource) typ_elementu = getElementType(pojazd) stan_pojazdu = getElementHealth(pojazd)/10 if (isElementWithinMarker(playerSource,m1)) then outputChatBox( "Automat naprawczy model HAIER-M3",kierowca, 255, 255, 0 ) if(pojazd ~= false) then outputChatBox( "Twoj pojazd ma "..stan_pojazdu.." punktów stanu pojazdu.") else outputChatBox( "Najpierw bądź w pojeździe!", thePlayer, 255, 50, 50 ) end end end addEventHandler( "onMarkerHit", m1, naprawa )
  22. guiSetVisible showCursor
×
×
  • Create New...