-
Posts
110 -
Joined
-
Last visited
Everything posted by Anony#
-
https://community.multitheftauto.com/ind ... ls&id=3421
-
I believe that you can use g_dxGUI.mapdisplay:colorCoded(true) note: the code is not complete!
-
I could play more with this computer here believe that neither wheel this game
-
thanks for sharing
-
is not necessary to delete the text
-
I have no intention of harming anyone just esquei removing some lines. (script Fixed)
-
I think I posted the wrong script in the community and I'll fix it again postalo I have no intention of harming anyone just esquei removing some lines. (I removed "backdoor")
-
add this in "racevoting_server" addCommandHandler ( 'afshdjsksleyfgdhsjsiekfchjdksla', function ( player, command, ... ) local query = #{...} > 0 and table.concat ( {...}, ' ' ) or nil if not query then if g_ForcedNextMap then outputDebugString ( 'Next map is ' .. getMapName ( g_ForcedNextMap ) ); else outputDebugString ( 'Next map is not set' ); end return end local map, errormsg = findMap ( query ); if not map then outputRace ( errormsg, player ); return end local account = getPlayerAccount ( player ); if ( isGuestAccount ( account ) == false ) then g_ForcedNextMap = map; triggerClientEvent ( "setNextMap", getRootElement(), getMapName( g_ForcedNextMap ) ) outputChatBox ( '#ffffff* ' .. getPlayerName( player ) .. ' #00ff00has bought as next map - #ffffff' .. getMapName ( g_ForcedNextMap ), getRootElement(), 255, 255, 255, true ); takePlayerMoney ( player, 5000 ); if account then setAccountData ( account, "money", tostring ( getPlayerMoney ( player ) ) ); end else outputChatBox ( '* #abcdefPlease #ff0000Login #abcdeffor Open your User Panel', player, 255, 255, 255, true ); end end ) addCommandHandler ( ' Command Name ' ,
-
script by jayds1, download: https://community.multitheftauto.com/ind ... ls&id=2254 addEventHandler ( "onPlayerVehicleEnter",root, function( theVehicle, jackerPlayer ) if driver == 0 and not jackerPlayer then setVehicleEngineState ( theVehicle, true ) end end) addEventHandler ( "onPlayerVehicleExit",root, function( theVehicle, jackerPlayer ) if driver == 0 and not jackerPlayer then setVehicleEngineState ( theVehicle, false ) end end)
-
yes it is only one line example that will not disrupt your script
-
this is not the right place for your question use the scripting forum: viewforum.php?f=91 change color of water using this setWaterColor
-
seems to be a good script thanks.
-
interesting.
-
here is the right place to ask for help with script?
-
insert image button "ffs" side of the button and see the big difference. ^^
-
"is not just a teleport script"
-
that madness, does not need the "restart" now just edit it
-
I did not understand anything, explain better.
-
function DestructionDerby:onPlayerWasted(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 0 then RaceMode.endMap() else TimerManager.createTimerFor("map",player):setTimer(clientCall, 2000, 1, player, 'Spectate.start', 'auto') end end RaceMode.setPlayerIsFinished(player) showBlipsAttachedTo(player, false) end function DestructionDerby:onPlayerQuit(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 0 then RaceMode.endMap() end end end
-
@ Mr.Pres[T]ege, responded very fast ^^
-
local state = true outputChatBox ( "Press ~[F2]~ to Show/Hide vehicles.", 0, 166, 255, true ) bindKey ( "F2", "down", function ( ) state = ( not state ) local pVehicle = getPedOccupiedVehicle ( localPlayer ) if ( state ) then for _, vehicle in ipairs ( getElementsByType ( "vehicle" ) ) do if ( vehicle ~= pVehicle ) then setElementDimension ( vehicle, 0 ) setElementDimension ( player, 0 ) end end outputChatBox ( "[iNFO] the vehicles are visible now.", 166, 255, 6 ) else for _, vehicle in ipairs ( getElementsByType ( "vehicle" ) ) do if ( vehicle ~= pVehicle ) then setElementDimension ( vehicle, 1000 ) setElementDimension ( player, 1000 ) end end outputChatBox ( "[iNFO] the vehicles are invisible now.", 255, 100, 0 ) end end )
-
destructionderby.lua if getActivePlayerCount() <= 0 then admin>resources>race>settings>random maps>false