Jump to content

CrowleySCR

Members
  • Content Count

    35
  • Joined

  • Last visited

Community Reputation

9 Neutral

About CrowleySCR

  • Rank
    Rat

Details

  • Gang
    N/A
  • Location
    Brazil
  • Occupation
    Scripter
  • Interests
    resource development

Recent Profile Visitors

601 profile views
  1. hello, have you tried using this resource?: https://community.multitheftauto.com/index.php?p=resources&s=details&id=141 (sorry for my english)
  2. iniMarker = createMarker( 1191.2342529297, -1356.9774169922, 13.377763748169, "cylinder", 1.5, 255,255,255,50) destroyM = createMarker( 1188.9282226563, -1316.4439697266, 13.565052032471, "cylinder", 1.9, 255,255,255,100) function msg(player) outputChatBox("#ffffff»Voce Pegou Uma Viatura«®", player, 255,255,255,true) end addEventHandler("onMarkerHit", iniMarker, msg) veh = {} function spawnVehicle(player) if isElementWithinMarker(player, iniMarker) then if veh[player] and isElement( veh[player] ) then destroyElement(veh[player]) veh[player] = nil end
  3. Olá, respondendo a sua primeira pergunta -> seat um exemplo: HeliHabs = { [487]=true,[488]=true,[497]=true,[417]=true } function enterVehicle ( player, seat, jacked ) if seat == 0 then -- // se ele entrar de piloto então: local MinhaConta = getPlayerAccount(player) if ( HeliHabs[getElementModel(source)] ) then local Hab = getAccountData(MinhaConta, "Hab") if Hab == false then cancelEvent() end end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )
  4. você pode tentar isso: *de 1 em 1 hora ele ganha um up. --[[ ################################################ # # # Script Criado Por # # FACEBOOK.COM/AIRNEWSCR # # # # # ################################################ --]] local minutos = 60 -- 60 minutos = 1 hora ( up ) -------------------------------------------------------------------------------------------- exports [ "scoreb
  5. procure por : Como tirar chat repetitivo MTA:SA no youtube
  6. toggleControl(source, 'fire', false) -- Tiro Normal *** -- Desativa o tiro da arma. toggleControl(source, 'action', false) -- Tiro ( TAB ) *** -- Desativa o tiro da arma. toggleControl(source, 'fire', true) -- Tiro Normal *** -- Ativa o tiro da arma. toggleControl(source, 'action', true) -- Tiro ( TAB ) *** -- Ativa o tiro da arma. *server-side
  7. getElementHealt não existe GetElementHealth
  8. local AgenciaDeEmpregos = createMarker ( -2033.092, -117.435, 1035.172 -1, "cylinder", 1.2, 20, 70, 230, 95 ) setElementInterior ( AgenciaDeEmpregos, 3 ) setElementDimension ( AgenciaDeEmpregos, 0 ) --local Entrada = createMarker ( 1153.971, -1772.248, 16.594 +0.7, "arrow", 1.2, 20, 70, 230, 95 ) local Entrada = createMarker(1153.971, -1772.248, 16.594 -1 ,"cylinder",1.1,0,108,255, 0) AgenPickup = createPickup ( 1153.971, -1772.248, 16.594, 3, 1210, 1) local EntradaBlip = createBlipAttachedTo ( Entrada, 23 ) setBlipVisibleDistance ( EntradaBlip, 150 ) local Saida = createMarker ( -2029.718
  9. -- SERVER-SIDE function setCargo(player) if player then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Console")) then setElementData(player, "ACT:Cargo", "Dono Geral") elseif isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Administrador")) then setElementData(player, "ACT:Cargo", "Administrador") elseif isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Moderador3")) then setElementData(player, "ACT:Cargo", "Moderador 3") elseif isObjectInACLGroup("user."..getAc
  10. eu te mandei o código arrumado no pv https://prnt.sc/p29jd4
  11. MarkerBike = createMarker(1086.3326416016,-1802.1416015625,12.60143661499, "cylinder", 1.5, 255,255,255,50) --local Veiculos = {510} -- IDs dos Veículos. Rumpo = {} AparecerBike = Rumpo[source] function spawn (source) if isElementWithinMarker(source, MarkerBike) then if getPlayerMoney(source) >= 500 then takePlayerMoney (source, 500) if AparecerBike and isElement(AparecerBike) then destroyElement(AparecerBike) end AparecerBike = createVehicle (510, 1091.2088623047,-1796.9704589844,13.606305122375) s
  12. fadeCamera ( source, false, 0.1, 0, 0, 0 ) setTimer ( fadeCamera, 900, 1, source , true, 0.5 ) setTimer ( setCameraTarget, 900, 1, source ) Tente ;D ( Testei e Funcionou peguei de um Resource aqui )
  13. function onWasted( killer, bodypart, stealth) if not( isGuestAccount (getPlayerAccount(source)) ) then local Skiin = getPedSkin (source) fadeCamera (source, false) setTimer (setElementModel, 2000, 1, source, Skiin, true) setTimer (spawnPlayer, 1000, 1, source, 2036.1735839844, -1413.0563964844, 16.9921875, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) Testei esse aqui com o play desligado e func
×
×
  • Create New...