-
Posts
1,546 -
Joined
-
Last visited
Everything posted by Dimos7
-
function antiBunnyHoppe() if getPedMoveState(localPlayer) == "Jamp" and getPedMoveState(localPlayer) == "Sprint" then setPedAnimation(localPlayer, "ped', "FALL_front") end end
-
function bunnyhope() if isWorldSpecialPropertyEnabled("extrabuny") then setPedAnimation(localPlayer, "ped", "FALL_front") end end
-
I think that is you ask for function bunnyhope() if isWorldSpecialPropertyEnabled("extrabuny") then --- put that amunations or what you want here end end
-
create a new folder name it as you like same that script with .lua and make a meta
-
function Wasted() skin = getPedSkin(source) setElementModel(source, skin) end addEventHandler("OnPlayerWasted", root, Wasted)
-
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 )
-
He mean a lobby for multy modes race etc
-
after see how mutch playes has put that takePlayerMoney
-
guiSetInputEnabled
-
why you put ped in dimession 1 also what /debugscript 3 say?
-
function Comands(cmd) if cmd == "reconnect" or cmd =="quit" then cancelEvent() end end addEventHandler("onPlayerCommand", root, Comands)
-
you can't see the marker now?
-
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)
-
yes because in 2 argument need the marker
-
i think you need window for make a gridlist and put false and true the window guiCreateWindow
-
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)
-
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)
-
mate that is from the wiki
-
createVehicle(model, x, y, z , rx, ry, rz) i hope that will help
-
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 )
-
guiSetVisible showCursor