Jump to content

[K]iller

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

[K]iller's Achievements

Vic

Vic (3/54)

0

Reputation

  1. De uma olhada: ? function bindSignalKey ( ) bindKey ( source, "L", "up", changeCarLock ) end addEventHandler ( "onPlayerJoin", getRootElement(), bindSignalKey ) function changeCarLock ( source, cmd) if not getElementData ( source, "lockTimer" ) then setElementData ( source, "lockTimer", true ) setTimer ( function () setElementData ( source, "lockTimer", false ) end , 1000, 1 ) local acc = getAccountName ( getPlayerAccount ( source ) ) for theKey,theVehicle in ipairs(getElementsByType ( "vehicle" )) do if isElement ( theVehicle ) then if(getElementData ( theVehicle, "owner" ) == acc) then if isVehicleLocked ( theVehicle ) then setVehicleLocked ( theVehicle, false ) playSoundFrontEnd (getRootElement(),5) setVehicleData ( getElementData ( theVehicle, "vehid" ), "lock", 0 ) outputChatBox ( "#FFFFFF[#20B2AAAlarme#FFFFFF]:#000000 - #FFFFFF".. getPlayerName(source) .."#FFFFFF(ID:"..(getPlayerID(source) or "?").."#FFFFFF) #BEBEBESeu veiculo foi #FF0000Destrancado#FFFFFF.",source,255,255,255,true ) else setVehicleLocked ( theVehicle, true ) playSoundFrontEnd (getRootElement(),5) setVehicleData ( getElementData ( theVehicle, "vehid" ), "lock", 0 ) outputChatBox ( "#FFFFFF[#20B2AAAlarme#FFFFFF]:#000000 - #FFFFFF".. getPlayerName(source) .."#FFFFFF(ID:"..(getPlayerID(source) or "?").."#FFFFFF) #BEBEBESeu veiculo foi #00FF00Trancado#FFFFFF.",source,255,255,255,true ) triggerClientEvent ( source, "beepAlarmS", source ) end return true end end end end end estou querendo adicionar uma função que é: piscar as luzes do carro cada vez que eu tranca-lo ou destranca-lo você poderiam me ajudar? ja tentei e não funcionou. Abraço! *OBS: esse script funciona junto com a minha loja de veiculos.
  2. Vlw testei aqui e funcionou certinho Te agradeço! Abraços! <3
  3. Eu quero que o player quando morrer fique com a skin que eu deixar, e tambem que ele respawna em varios locais! se puder me ajudar agradeço desde já! Abraço.
  4. Olá tudo bem? eu sim obg bom vamos direto ao assunto! eu recentemente criei um servidor e queria deixar na hora q o player morrer nascer em varios locais, o spawnpoint que tem na internet só respawna em um local só, e o spawnpoint do proprio mtasa faz oq eu quero mais o player renasce com varias skins diferentes n acho legal, gosto de deixar padrão e certinho não sei criar scripts entao estou recorrendo a vcs se alguem poder me ajudar agradeço desde ja! Vlw Abraço!
×
×
  • Create New...