-
Content Count
405 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Vision
-
Rank
Thug
- Birthday January 11
Details
-
Location
Brazil
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Vision changed their profile photo
-
Pois é, dificil entender, tu pede ajuda em uma coisa e depois quer outra? confuso. Boa sorte ai.
-
Mas não era isso a ideia do script? Usar o comando enquanto está fazendo o download e bloquear quando terminasse.
-
function onJoin() setElementData ( source, "DownMOD", true ) end addEventHandler("onPlayerJoin",root,onJoin) function onDownloadFinish() setElementData ( client, "DownMOD", false ) end addEvent("DownLoad",true) addEventHandler("DownLoad",root,onDownloadFinish) Tenta ai, e também tinha um "apóstrofo" no segundo argumento do setElementData na linha 48.
-
local radioOn = false function turnRadio ( command ) if ( command == 'radioon' and not radioOn ) then setRadioChannel ( 0 ); song = playSound ( 'http://www.181.fm/stream/asx/181-power.asx', true ); radioOn = true; elseif ( command == 'radiooff' and radioOn ) then stopSound ( song ); radioOn = false; end end addCommandHandler ( 'radioon', turnRadio ); addCommandHandler ( 'radiooff', turnRadio );
-
http://community.mtasa.com/index.php?p= ... ls&id=9002 Modification. DONE
-
http://community.mtasa.com/index.php?p= ... ls&id=8990 Modification. DONE
-
Did you try the code that I posted?
-
He wants to disable only the main chat local chat = true function chatDis(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then outputChatBox("#E3E8B7The chat has been disabled by "..getPlayerName(thePlayer)..".",root,255, 255, 255, true) chat = false end end addCommandHandler("chatoff", chatDis) function chatEn(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) )
-
local timer local engineState = false function toggleEngine ( ) local checkPlayerVehicle = getPedOccupiedVehicle ( localPlayer ) if ( checkPlayerVehicle and getVehicleController ( checkPlayerVehicle ) == localPlayer ) then local checkState = getVehicleEngineState ( checkPlayerVehicle ) timer = setTimer ( function ( ) setVehicleEngineState ( checkPlayerVehicle, not checkState ) outputChatBox ( ( checkState and 'OFF' or 'ON' ) ) engineState = false end, 3000, 1 ) engine
-
viewtopic.php?f=148&t=40809
-
----------------------------------------------------- -- script Bases Area 51 MTA:SA Gang War -- @author EufraT & TAPL -- @update 28/1/2014 ----------------------------------------------------- radararea2 = createRadarArea( 110.91990, 1800.89435, 200, 145, 255, 255, 255, 225 ) createBlip(279.40317, 1831.25439, 7.72656,62) marker2 = createMarker(298.98865, 1815.90613, 3.71094,"cylinder",2,0,0,255,255) Maverick = createVehicle ( 487, 251.64256286621,1920.413574218817,640630722046 ) addCommandHandler ( "comprar", function ( player ) local money = getPlayerMoney ( player )