-
Posts
245 -
Joined
-
Last visited
Everything posted by Turbesz
-
when a player quit remove from aclgroup
-
anyone help pls
-
try this client --client addEventHandler('onClientGUIClick',root, function () if source == button4 then triggerServerEvent("tank",getLocalPlayer(),0,255,0,"---") end end ) server --server addEvent("tank",true) addEventHandler("tank",root, function(r,g,b,text) local x,y,z = getElementPosition(source) car = createVehicle(432, x + 2,y,z ) warpPlayerIntoVehicle(source,car) outputChatBox(text,source,r,g,b) end ) aaa many thanks! :DD But, what's the solution to the aclGroupRemoveObject when player quit?
-
Change warpPlayerIntoVehicle for warpPedIntoVehicle it's still not working
-
doesn't work
-
Thanks, but the rhino not good. This create a rhino, but i need warp to inside rhino (sorry for my bad english)
-
No, it's working. button2 = cargodmode (not working) button33 = minigun (not working) button4 = tank (not working) button5 = aclGroupAddObject (for the colorful writing) (not working) @Edit: now aclGroupAddObject is working but aclGroupRemoveObject when player quit, not working...
-
I want add this (aclGroupAddObject, giveWeapon, and cargodmode script) to this window script for a button, the godmode, and invisible are good but but those functions not. Help me pls:c This is the code: outputChatBox("#FFF000FullFunPlay #FF0000Ajándék #FFF000Panel #000FFFby Turbesz #FFffFF[F2]",0,255,255,true) window = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(window, false) guiSetVisible (window, false) guiSetProperty(window, "CaptionColour", "FF00D655") button2 = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, window) guiSetProperty(button2, "NormalTextColour", "FF2FFE00") button3 = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, window) guiSetProperty(button3, "NormalTextColour", "FF2FFE00") button33 = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, window) guiSetProperty(button33, "NormalTextColour", "FF2FFE00") button4 = guiCreateButton(10, 150, 125, 33, "TANK", false, window) guiSetProperty(button4, "NormalTextColour", "FF2FFE00") button5 = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, window) guiSetProperty(button5, "NormalTextColour", "FFFEFFFE") button6 = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, window) guiSetProperty(button6, "NormalTextColour", "FFFEFFFE") button7 = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, window) guiSetProperty(button7, "NormalTextColour", "FFFEFFFE") memo = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz több valamit, 12 óránként! \n\nJó szórakozást a panellel!", false, window) guiMemoSetReadOnly(memo, true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, window) function OpenWin() if guiGetVisible ( window ) == false then guiSetVisible ( window, true ) showCursor(true) end end bindKey ( "F2", "down", OpenWin) function Bezaras() guiSetVisible(window, false) showCursor ( false ) end addEventHandler ( "onClientGUIClick", button, Bezaras) local aButtons = { button7 } addEventHandler('onClientGUIClick',root, function ( ) for i,v in ipairs ( aButtons ) do if source == v then if getElementData ( source,'AntiButtonFlood' ) == true then return outputChatBox('Várjál 12 órát. Buggoltatásért bann jár.') end setElementData ( source,'AntiButtonFlood',true ) setElementAlpha(localPlayer, 0) setTimer ( setElementData,43200,1,source,'AntiButtonFlood',false ) end end end ) local aButtons1 = { button2 } addEventHandler('onClientGUIClick',root, function ( ) for i,v in ipairs ( aButtons1 ) do if source == v then if getElementData ( source,'AntiButtonFlood' ) == true then return outputChatBox('Várjál 12 órát. Buggoltatásért bann jár.') end setElementData ( source,'AntiButtonFlood',true ) function godmode ( ) cancelEvent ( ) end addEventHandler ( "onClientGUIClick", button2, function ( ) addEventHandler ( "onClientPlayerDamage", localPlayer, godmode ) end ,false ) setTimer ( setElementData,43200,1,source,'AntiButtonFlood',false ) end end end )
-
MANY THANKS! :DDDDD
-
Igen, működik. Csak azért raktam oda azt a cuccot, mert lehet ott rontottam el valamit a warpos cuccal.
-
How? Sorry me noob scripter
-
this window doesn't work but why? Code: GUIEditor_Window = {} cancelBtn = {} GUIEditor_Label = {} outputChatBox("#FF0000--Rang #FFffFFvásárlás #00ff00panel-- #ff0000F10!",0,255,255,true) GUIEditor.window[1] = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00D655") GUIEditor.button[1] = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF2FFE00") GUIEditor.button[2] = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF2FFE00") GUIEditor.button[3] = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF2FFE00") GUIEditor.button[4] = guiCreateButton(10, 150, 125, 33, "TANK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF2FFE00") GUIEditor.button[5] = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFEFFFE") GUIEditor.button[6] = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFEFFFE") GUIEditor.button[7] = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFEFFFE") GUIEditor.memo[1] = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz egy valamit, 12 óránként! \n\nJó szórakozást a panellel!", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, GUIEditor.window[1]) guiSetVisible (GUIEditor_Window[1], false) function OpenWin() if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1], false ) else guiSetVisible ( GUIEditor_Window[1], true ) end end function Bezaras( ) guiSetVisible(GUIEditor_Window[1], false) showCursor ( false ) end addEventHandler ( "onClientGUIClick", button, Bezaras) function changeVisibility ( ) guiSetVisible (GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) end bindKey ( "F10", "down", function ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) guiSetVisible ( GUIEditor_Window[2], not guiGetVisible ( GUIEditor_Window[2] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) end )
-
Szeretnék egy olyan 'cuccot' betenni freeroam-ba, ami offolja vagy épp bekapcsolja a Warpot. Itt már van egy 'script kód': function warpTo(leaf) if not leaf then leaf = getSelectedGridListLeaf(wndWarp, 'playerlist') if not leaf then return end end local player = getPlayerFromNick(leaf.name) if player then if getElementData(player,"warp.status") then outputChatBox ( "This player has disabled warping.", player, 255, 0, 0 ) return end -- added server.warpMe(player) end closeWindow(wndWarp) end function warpToCommand(cmd, player) if player then player = getPlayerFromNick(player) if player then if getElementData(player,"warp.status") then outputChatBox ( "This player has disabled warping.", player, 255, 0, 0 ) return end --added server.warpMe(player) end else createWindow(wndWarp) showCursor(true) end end addCommandHandler('warpto', warpToCommand) addCommandHandler('wt', warpToCommand) Csak az a gond ezzel, hogy ide nem tudom beírni úgy hogy működjön is: {'chk', id='jetpack', onclick=toggleJetPack}, {'chk', id='falloff', text='Fall of Bike', onclick=toggleFallOffBike}, {'chk', id='warp.status', text='Warp', onclick=warpMe, width=80}, Már mindenféle variációt próbáltam, de semmi.. Vagy a 'script kód' se jó? Köszi előre is a válaszokat!
-
DELETE: https://community.multitheftauto.com/ind ... s&id=13099 DONE
-
DELETE: https://community.multitheftauto.com/ind ... s&id=13099
-
DELETE: https://community.multitheftauto.com/ind ... s&id=13099 Pls.