- 
                Posts862
- 
                Joined
- 
                Last visited
Everything posted by iMr.3a[Z]eF
- 
	i didnt copied that -_-'
- 
	this will works as far as i know -- server local adminACL = {} adminACL[1] = { "Admin" } adminACL[2] = { "SuperModerator" } adminACL[3] = { "Moderator" } adminACL[4] = { "Console" } addCommandHandler("update", function(source) local playerAcc = getPlayerAccount(source) local accName = getAccountName(playerAcc) for _, objects in ipairs(adminACL) do if isObjectInACLGroup ("user."..accName, aclGetGroup ( adminACL[1] ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( adminACL[2] ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( adminACL[3] ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( adminACL[4] ) ) then triggerClientEvent(source, "onAdminCommandUpdate", source) end end end ) --Client addEvent("onAdminCommandUpdate", true) addEventHandler("onAdminCommandUpdate", root, function() guiSetVisible(updatePanel, true) showCursor(true) end )
- 
	YOU'LL HAVE TO BE IN ALL GROUPS
- 
	function destroyBlip() if ( isVehicleBlown ( vehicleC ) ) then destroyElement(blip) end end addEventHandler("onVehicleExplode", vehicleC, onvehblow)
- 
	what do you mean by "locked"?
- 
	start over this page it can helps you https://wiki.multitheftauto.com/wiki/Sc ... troduction
- 
	You have no idea what I have created in the past, I AM NOT A NAB SCRIPTER. TAKE ME SERIOUSLY!@! -_-" dude, i'll never help if i dont know the problem if you dont tell me about "debugscript 3"
- 
	I script client side. pls take me seriously, I am not a nab. why dont you write in Console "F8" debugscript 3 and hope that information is wrong.
- 
	This is in ClintSide only
- 
	i dont understand you do you mean that you want to make 2 gamemods in 1 server?
- 
	createMarker "onMarkerHit" -- event setPedAnimation
- 
	or he can use this https://community.multitheftauto.com/ind ... ls&id=2540
- 
	nope write the whole script you made if its private you can connect me at private MSG
- 
	didn't you made a window?
- 
	ex: local wnd = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true ) addCommandHandler('info', -- the command for open the window function ( ) guiSetVisible ( wnd,true ); -- gElement = the window end ); wnd = the window that you made it.
- 
	1- are you sure about the weapon's position 2- be sure abot the codes side is client
- 
	addCommandHandler('info', -- the command for open the window function ( ) guiSetVisible ( gElement,true ); -- gElement = the window end );
- 
	did you unzipped it make it as folder then put it in resources Files
- 
	do you mean you want to set Players Colors? setPlayerNametagColor EDIT: use [lua][ /lua] Please,.,
- 
	you have to select your weapon by scrolling or pressing q or e
- 
	you deleted Admin Group while you using the Panel by mistake be careful
- 
	debugscript 3 ??
- 
	And why triggering? try this GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(239, 37, 886, 690, "Admin Commands", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF21AEFF") GUIEditor.label[1] = guiCreateLabel(10, 102, 566, 114, "Staff Area Gate Commands", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 33, 174, 255) GUIEditor.label[2] = guiCreateLabel(73, 169, 291, 110, "Main Entrance - /mainstaffo ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 43, 159, 27) GUIEditor.label[3] = guiCreateLabel(73, 154, 289, 141, "Main Entrance Closed - /mainstaffc", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 43, 159, 27) GUIEditor.label[4] = guiCreateLabel(52, 206, 310, 63, "Entrance to Staff Area through Car Park - /cpo", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 43, 159, 27) GUIEditor.label[5] = guiCreateLabel(52, 222, 359, 112, "Entrance to Staff Area through Car Park Closed - /cpc", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 43, 159, 27) GUIEditor.button[1] = guiCreateButton(262, 579, 377, 101, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFD10000") GUIEditor.label[6] = guiCreateLabel(52, 251, 256, 112, "Car Park Entrance - /cpopen", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 43, 159, 27) GUIEditor.label[7] = guiCreateLabel(52, 266, 242, 39, "Car Park Entrance Closed - /cpclosed", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 43, 159, 27) GUIEditor.staticimage[1] = guiCreateStaticImage(374, 144, 391, 234, ":PLAGUEScriptEditor/images/examples/shruk.png", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FFD10000 tr:FFD10000 bl:FFD10000 br:FFD10000") GUIEditor.label[8] = guiCreateLabel(0, 0, 488, 164, "Admin Team - Commands", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[8], "default-bold-small") GUIEditor.label[9] = guiCreateLabel(389, 455, 376, 134, "Fly - /superman", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 59, 18, 236) GUIEditor.label[10] = guiCreateLabel(389, 474, 147, 86, "Admin Skin - /staffskin", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[10], 59, 18, 236) GUIEditor.label[11] = guiCreateLabel(372, 392, 368, 67, "Misc Commands", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[11], "sa-header") guiLabelSetColor(GUIEditor.label[11], 0, 172, 209) end ) addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then guiSetVisible(GUIEditor_window[1], false) showCursor(false) addCommandHandler( "adminhelp", function () guiSetVisible( GUIEditor_window[1], true ) setTimer( function () showCursor( true ) end, 1000,1) end )
- 
	local marker = createMarker(-2596.625, 579.358, 14, 'cylinder', 2.0, 255, 0, 0, 150) addEventHandler("onClientMarkerHit",root, function(h) if h == localPlayer and source == marker then addEventHandler("onClientRender",root,drawText) setElementFrozen ( h, true ) triggerServerEvent ( "onMarker", localPlayer) end end ) function drawText() dxDrawText("Prees 'C' To Exit!",423.0,601.0,623.0,637.0,tocolor(255,255,255,255),2.0,"clear","left","top",false,false,false) end function undo( ) removeEventHandler("onClientRender", root,drawText) setElementFrozen ( localPlayer, false ) triggerServerEvent ( "onMarker2", localPlayer ) end bindKey ( "c", "down", undo )
- 
	download the original Admin Panel or write the whole script of APanel a file calls "admin_main"

 
        