-
Posts
862 -
Joined
-
Last visited
Everything posted by iMr.3a[Z]eF
-
Ok, try to delete at the line 399 in the freeroam file Delete this: addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) .. '#FFFFFF: #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. msg ) end end )
-
Rules are rules, if you tried we will do this for you.
-
Oh ok do as Castillo said, post the freeroam the file "fr_server.lua"
-
I'm mean if you merge the codes with freeroam maybe it will works
-
Why not set the code at the freeroam?
-
"onClientMouseEnter" dxSetPixelColor-- alpha argument to 0.75 "onClientMouseLeavr" dxSetPixelColor-- alpha argument to 1.00
-
As you said, when you are connecting by Computer post what you tried.
-
I asked you a question.
-
Why no't canceling instead ban?
-
An example for table local table = { [1] = 123,4567890, [2] = 0987,654321 } function a() for i,v in ipairs (position) do if isPlayerDead(source) then spawnPlayer(source, math.random([1],[2])) end end end addEventHandler("onPlayerWasted", getRootElement(), a)
-
the LUA in-game isn't need any experiences in scripting, i swear it's easy in this life Press me
-
I know what to you want this function do in that codes.
-
Try if the first one is rotates try the second one function createTheGate () myGate = createObject ( 971 ,-3258.5517578125, 751.85546875, 116.78617095947, 0, 0, 9 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 90.78617095947 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("swat",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 116.78617095947 ) end the second one function createTheGate () myGate = createObject ( 971 ,-3258.5517578125, 751.85546875, 116.78617095947 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 90.78617095947 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("swat",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 116.78617095947 ) end
-
And why you want to use it for.
-
You mean like this? addEventHandler("onPlayerLogout", getRootElement(), function() if isPlayerDead(source) then cancelEvent() end end )
-
So, that's mean you solved the problem. And all thanks to TAPL too.
-
Lol Why?
-
No, open the gate and close it after 5 seconds in one command.
-
He don't want to close the gate by command, he wants to close by timer Try this function createTheGate () myGate = createObject ( 971 ,-3258.5517578125, 751.85546875, 116.78617095947, 0, 0, 90 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 90.78617095947, 0, 0, 90 ) setTimer ( moveObject ( myGate, 3000, -3258.5517578125, 751.85546875, 116.78617095947, 0, 0, 90 ), 5000, 1 ) end addCommandHandler("swat",openMyGate)
-
Why you posted it here then?
-
It shall work, what is debug says?
-
For dx use onClientRender
-
What the hell is this
-
oh an optional arguments
-
WTF??????????? what did you just did.
