Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. Já existe uma discussão relacionada a este assunto, dê uma pesquisa no forum antes de abrir um novo assunto. Obrigado!
  2. setElementPosition getPlayerTeam/setPlayerTeam kickPlayer onClientPedDamage TriggerClientEvent TriggerServerEvent
  3. he script is mine, show proofs and evidences Furthermore, my script not it is compiled
  4. has nothing his stolen there no boy, look at code and makes the comparison and then show evidence
  5. cara, acho que ninguém vai fazer isso pra você de graça não. além disso, você não irá dar conta de fazer esse script sozinho. o que você tem a de oferecer ? qual o valor minimo que pretende pagar ? e qual a forma de pagamento que você trabalha, PAYPAL ou PAGSEGURO ?
  6. double https://community.multitheftauto.com/in ... s&id=11189 https://community.multitheftauto.com/in ... s&id=11141 DONE
  7. New Version: 3.5 | PT-BR - released!
  8. no description, and mod txd/tff https://community.multitheftauto.com/in ... ls&id=7896 https://community.multitheftauto.com/in ... ls&id=7895 https://community.multitheftauto.com/in ... ls&id=7897 https://community.multitheftauto.com/in ... ls&id=7893 https://community.multitheftauto.com/in ... ls&id=8068 https://community.multitheftauto.com/in ... s&id=11184 https://community.multitheftauto.com/in ... s&id=11189 https://community.multitheftauto.com/in ... s&id=11141 https://community.multitheftauto.com/in ... s&id=12247 download link to malware https://community.multitheftauto.com/in ... s&id=11127 Look in client.lua - ( http://adf.ly/127JjZ ) https://community.multitheftauto.com/in ... s&id=11127 DONE
  9. Thanks. I'm letting the visuals, nicer
  10. Thanks, I'll remember this the next time. More please, without ignorance with others.
  11. I did not even know that this function existed. because I would look for something that maybe does not exist?
  12. ???? because such ignorance?
  13. olha cara, acho que vai funcionar. (não tenho certeza) server.lua function teamName ( source ) if getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) == "Nome_do_time" then setElementData ( source, "Team", true ) else setElementData ( source, "Team", false ) end end addEventHandler("onPlayerVehicleEnter", getRootElement(),teamName) client.lua optionsTable = {} optionsTable[1] = {x=1583.68408, y=1450.32666, z=9.83114} -- LV optionsTable[2] = {x=348.91159, y=2539.05054, z=15.74509} -- VM optionsTable[3] = {x=-1460.63989, y=-152.66759, z=13.14844} -- SF optionsTable[4] = {x=1562.28149, y=-2414.01587, z=12.55469} -- LS lastTarget = false deliveryPrice = false deliveryMarker = false deliveryBlip = false function onPlaneEnter() local daVehicle = getPedOccupiedVehicle(localPlayer) if getElementData ( getLocalPlayer(), "Team" ) -- verifica se o jogador é do time if daVehicle and getVehicleType(daVehicle) == "Plane" then if isElement(deliveryMarker) then destroyElement(deliveryMarker) deliveryMarker = false end if isElement(deliveryBlip) then destroyElement(deliveryBlip) deliveryBlip = false end local optionsNew = deepcopy(optionsTable) if lastTarget then table.remove(optionsNew, lastTarget) end local randomNumber = math.random(1,#optionsNew) lastTarget = randomNumber local x = optionsNew[randomNumber]['x'] local y = optionsNew[randomNumber]['y'] local z = optionsNew[randomNumber]['z'] exports.saptcommands:sendClientMessage("*Pilot Delivery* Your load is ready to be delivered. ", 0, 255, 0) deliveryMarker = createMarker(x,y,z,"cylinder",5) local px, py = getElementPosition(localPlayer) deliveryPrice = getDistanceBetweenPoints2D(x, y, px, py) * 5 deliveryBlip = createBlipAttachedTo(deliveryMarker,5) addEventHandler("onClientMarkerHit",deliveryMarker,onDeliveryHit) addEventHandler("onClientVehicleExit",daVehicle ,onPlaneExit) addEventHandler("onClientVehicleExplode",daVehicle ,onPlaneExit) addEventHandler("onPlayerWasted", localPlayer, deleteMission) end end -- fecha a verificação end addEventHandler("onClientPlayerVehicleEnter",localPlayer,function() onPlaneEnter() end) function onDeliveryHit(hitPlayer, matchingDimension) if hitPlayer == localPlayer then if getPedOccupiedVehicle(hitPlayer) and matchingDimension and isVehicleOnGround(getPedOccupiedVehicle(hitPlayer)) and getVehicleType(getPedOccupiedVehicle(hitPlayer)) == "Plane" then exports.saptcommands:sendClientMessage("*Pilot Delivery* You've delivered it successfully, great job!", 50, 255, 50) exports.saptcommands:giveMoney(localPlayer, deliveryPrice) destroyElement(deliveryMarker) destroyElement(deliveryBlip) deliveryMarker = false deliveryBlip = false deliveryPrice = false onPlaneEnter() end end end function onPlaneExit() removeEventHandler("onClientVehicleExit",source,onPlaneExit) deleteMission() end function deleteMission() if deliveryMarker then exports.saptcommands:sendClientMessage("Pilot Delivery* The delivery failed. Keep going, you were going great!", 0, 255, 0) destroyElement(deliveryMarker) destroyElement(deliveryBlip) deliveryMarker = false deliveryBlip = false deliveryPrice = false end end addEventHandler("onClientPlayerSpawn", localPlayer, deleteMission) function deepcopy(object) local lookup_table = {} local function _copy(object) if type(object) ~= "table" then return object elseif lookup_table[object] then return lookup_table[object] end local new_table = {} lookup_table[object] = new_table for index, value in pairs(object) do new_table[_copy(index)] = _copy(value) end return setmetatable(new_table, getmetatable(object)) end return _copy(object) end
  14. cole aqui, a parte do código que deseja colocar esta função.
  15. is there any way to pick up the rotation of the engine, helicopter. ?? it is for my radar GTA V what function should I use? sorry my bad english..
  16. Eu não acho necessário dar continuidade neste tema, já que foi detectado o furto desde roteiro. DNL291, por favor fechar este tópico..
  17. Oh my god. excuse my stupidity. I forgot to note that is clientSide SORRY Solved
  18. I use this function normally, with command. but already triggerEvent it gives error. function hovercars() if not isWorldSpecialPropertyEnabled( "hovercars" ) then setWorldSpecialPropertyEnabled( "hovercars", true ) triggerClientEvent ( "AguaLig", source ) setElementData(source,"CarAgua",true) --outputChatBox("Andar de carro na agua ativado,para desativar digite /agua novamente ! ", 124, 252, 0 ) else setWorldSpecialPropertyEnabled( "hovercars", false ) triggerClientEvent ( "AguaDesl", source ) setElementData(source,"CarAgua",false) --outputChatBox("Andar de carro na agua desativado !", 124, 252, 0 ) end end addEvent("AguaCar", true) addEventHandler("AguaCar", root, hovercars)
×
×
  • Create New...