Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    GUI

    This is a simple example: --We create a table with two items on it. local dataTable = { ["Dog"] = "Ugly", ["Cat"] = "Nice", } myGridList = guiCreateGridList(382, 221, 200, 201, false) --We create our GUI gridlist. guiGridListAddColumn(myGridList,"",0.70) --We add a column to our gridlist. for question, answer in pairs(dataTable) do --We loop through our "dataTable". local row = guiGridListAddRow(myGridList) --We add a row to our gridlist. guiGridListSetItemText(myGridList,row,1,tostring(question),false,false) --We set the column text to the data obtained from the table. guiGridListSetItemData(myGridList,row,1,tostring(answer)) --We the column data as the "answer". end myMemo = guiCreateMemo(591,221,175,53,"",false) --We create our GUI memo. addEventHandler("onClientGUIClick",myGridList, function () local row,col = guiGridListGetSelectedItem(source) --We get the gridlist selected item.. if (row and col and row ~= -1 and col ~= -1) then --We check if the row and column is valid.. local answer = guiGridListGetItemData(source, row, 1) --We get the selected item data (the answer).. guiSetText(myMemo, answer) --We set the our memo text with the text obtained above. else --If row and column aren't valid... guiSetText(myMemo, "") --We our memo text to nothing. end end, false)
  2. Try with this: addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function (mapInfo) local map = exports.mapmanager:getRunningGamemodeMap() local mapname = getResourceName(map) local rate = exports.mapratings:getMapRating(mapname) if rate then local average = rate.average local players = rate.count setTimer(outputChatBox,50,1,"#FFE303[RATE]This map has average rating of "..getRatingColorAsHex(average)..tostring(average).."/10 (by "..tostring(players).." players)",getRootElement(),255,255,255,true) else setTimer(outputChatBox,50,1,"#FFE303[RATE]This map isn't rated yet.",getRootElement(),255,255,255,true) end end ) function getRatingColor(rating) local r, g = -5.1*(rating^2) + 25.5*rating + 255, -5.1*(rating^2) + 76.5*rating r, g = r > 255 and 255 or math.floor(r+0.5), g > 255 and 255 or math.floor(g+0.5) return {r,g,0}--"#"..string.format("%02X", r)..string.format("%02X", g).."00" end function getRatingColorAsHex(rating) local r, g = unpack(getRatingColor(rating)) return "#"..string.format("%02X", r)..string.format("%02X", g).."00" end
  3. You must remove the event handler that renders it.
  4. function sendMessageAll (CZ, EN) hraci = getElementsByType("player") for _, player in ipairs(hraci) do local hracuvJazyk = getElementData(player, "lang") if (hracuvJazyk == "EN") then outputChatBox(EN, player, 250, 0, 0, true) elseif (hracuvJazyk == "CZ") then outputChatBox(CZ, player, 250, 0, 0, true) end end end --This shloud be used like: sendMessageAll("Ahoj", "Hello") Should work.
  5. The script has these functions: function getRatingColor(rating) local r, g = -5.1*(rating^2) + 25.5*rating + 255, -5.1*(rating^2) + 76.5*rating r, g = r > 255 and 255 or math.floor(r+0.5), g > 255 and 255 or math.floor(g+0.5) -- outputDebugString("mapratings: rating = "..rating.." r = "..r.." g = "..g) return {r,g,0}--"#"..string.format("%02X", r)..string.format("%02X", g).."00" end function getRatingColorAsHex(rating) local r, g = unpack(getRatingColor(rating)) return "#"..string.format("%02X", r)..string.format("%02X", g).."00" end And they're used like this: outputChatBox("Rated '"..(getResourceInfo(getResourceFromName(mapresname), "name") or mapresname).."' "..getRatingColorAsHex(rating)..rating.."/10#E1AA5A.", player, 225, 170, 90, true) I think that's what you want .
  6. Mind posting your whole code? it would help.
  7. Ya encontre el error: g_Root = getRootElement() addEventHandler('onPlayerJoin',g_Root, function () local country = exports['admin']:getPlayerCountry(source) setElementData(source,'Country',country) outputChatBox('[JOIN] #ffffff' .. getPlayerName(source) .. '#DB8181 joined game!' .. tostring(country) .. ' ', getRootElement(), 219, 129, 129, true) end ) addEventHandler('onPlayerChangeNick', g_Root, function(oldNick, newNick) outputChatBox('[Change-Nick] #ffffff' .. oldNick .. '#DB8181 is now known as #ffffff' .. newNick, getRootElement(), 219, 129, 129, true) end ) addEventHandler('onPlayerQuit', g_Root, function(reason) outputChatBox('[' .. reason .. '] #ffffff' .. getPlayerName(source) .. ' #DB8181disconnected.', getRootElement(), 255, 0, 0, true) end )
  8. Uh, me acabo de despertar, copialo de nuevo, me habia olvidado otra cosa
  9. I understand that "hraci" is a table. for _, element in ipairs(hraci) do local hracuvJazyk = getElementData(element , "lang") if (hracuvJazyk == "CZ") then outputChatBox(CZ, element, 250, 0, 0, true) end end
  10. Which color? it uses like two HEX colors, this is the most used I think: #E1AA5A
  11. Castillo

    GUI

    You want when you click on a gridlist it'll display some text in the GUI memo?
  12. @Al3grab: Wrong, use setElementCollidableWith for vehicles aswell. Read the wiki note:
  13. Uhm, disculpa, copia mi codigo de nuevo, me habia olvidado de algo .
  14. Ahi encontre el error, copia el client-side de nuevo.
  15. Proba si funciona. -- client side: GUIEditor_Label = {} GUIEditor_Label1 = {} theWindow1 = guiCreateWindow(350,50,250,350,"[Life]Petrolero",false) guiWindowSetSizable(theWindow1,false) guiSetVisible (theWindow1, false) guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false) guiSetFont(GUIEditor_Label[1],"default-bold-small") aceptaBut1 = guiCreateButton(0.15,0.9,0.3,0.1,"Aceptar",true,theWindow1) closeBut1 = guiCreateButton(0.47,0.9,0.3,0.1,"Cerrar",true,theWindow1) info = guiCreateLabel(0.08,0.05,0.9,0.3,"¿Estas Listo para trabajar de Petrolero?",true,theWindow1) guiLabelSetColor(info, 0, 255, 0) info2 = guiCreateLabel(0.15,0.12,0.60,0.3,"Selecciona el Skin a Utilizar!",true,theWindow1) guiLabelSetColor(info2, 0, 255, 0) autos1 = guiCreateGridList ( 0.01, 0.19, 0.91, 0.70, true,theWindow1 ) column1 = guiGridListAddColumn( autos1, "Skins Disponibles", 0.93, true, theWindow1 ) skin1 = guiGridListAddRow( autos1 ) guiGridListSetItemText(autos1, skin1 , column1,"133",false,false) skin2 = guiGridListAddRow( autos1 ) theWindow2 = guiCreateWindow(350,50,250,350,"[Life]Petrolero",false) guiWindowSetSizable(theWindow2,false) guiSetVisible (theWindow2, false) guiLabelSetHorizontalAlign(GUIEditor_Label1[1],"left",false) guiSetFont(GUIEditor_Label1[1],"default-bold-small") aceptaBut2 = guiCreateButton(0.15,0.9,0.3,0.1,"Aceptar",true,theWindow2) closeBut2 = guiCreateButton(0.47,0.9,0.3,0.1,"Cerrar",true,theWindow2) info4 = guiCreateLabel(0.15,0.12,0.60,0.3,"Selecciona el Camion a Utilizar!",true,theWindow2) guiLabelSetColor(info4, 0, 255, 0) autos2 = guiCreateGridList ( 0.01, 0.19, 0.91, 0.70, true,theWindow2 ) column2 = guiGridListAddColumn( autos2, "Camiones Disponibles", 0.93, true, theWindow2 ) skin2 = guiGridListAddRow( autos2 ) guiGridListSetItemText(autos2, skin2 , column2,"Linerunner",false,false) --id nº 403 skin3 = guiGridListAddRow( autos2 ) guiGridListSetItemText(autos2, skin3 , column2,"Roadtrain",false,false) --id nº 515 function menuShow1 () visableornot = guiGetVisible (theWindow1) if (visableornot == true) then guiSetVisible (theWindow1, false) showCursor (false) end if (visableornot == false) then guiSetVisible (theWindow1, true) showCursor (true) end end addEvent ("menuShow1",true) addEventHandler ("menuShow1",getRootElement(),menuShow1) function menuShow2 () visableornot1 = guiGetVisible (theWindow2) if (visableornot1 == true) then guiSetVisible (theWindow2, false) showCursor (false) end if (visableornot1 == false) then guiSetVisible (theWindow2, true) showCursor (true) end end addEvent ("menuShow2",true) addEventHandler ("menuShow2",getRootElement(),menuShow2) function guiClick (button, state, absoluteX, absoluteY) if (source == aceptaBut1) then if (guiGridListGetSelectedItem (autos1)) then local carName1 = guiGridListGetItemText (autos1, guiGridListGetSelectedItem (autos1)) triggerServerEvent ("aceptar1", getLocalPlayer(), carName1) guiSetVisible ( theWindow1, false ) showCursor ( false ) end elseif (source == closeBut1) then guiSetVisible ( theWindow1, false ) showCursor ( false ) end if (source == aceptaBut2) then if (guiGridListGetSelectedItem (autos2)) then local carName2 = guiGridListGetItemText (autos2, guiGridListGetSelectedItem (autos2)) triggerServerEvent ("aceptar2", getLocalPlayer(), carName2) guiSetVisible ( theWindow2, false ) showCursor ( false ) end elseif (source == closeBut2) then guiSetVisible ( theWindow2, false ) showCursor ( false ) end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) addEvent("enviarDestino",true) addEventHandler("enviarDestino",root, function (x,z,y) if isElement(theFinishMarker) then removeEventHandler("onClientMarkerHit", theFinishMarker, truckerJobMarkerHit) destroyElement ( theFinishMarker ) end if isElement(theFinishBlip) then destroyElement ( theFinishBlip ) end theFinishMarker = createMarker ( x, z, y, "cylinder", 4.5, 0, 255, 0, 90 ) theFinishBlip = createBlip ( x, z, y, 53, 2, 255, 0, 0, 255, 0, 99999.0 ) addEventHandler("onClientMarkerHit", theFinishMarker, truckerJobMarkerHit) end) function truckerJobMarkerHit ( hitPlayer, dim ) if (hitPlayer == localPlayer and dim and isPedInVehicle(localPlayer)) then if isElement(theFinishMarker) then removeEventHandler("onClientMarkerHit", theFinishMarker, truckerJobMarkerHit) destroyElement ( theFinishMarker ) end if isElement(theFinishBlip) then destroyElement ( theFinishBlip ) end triggerServerEvent("misionTerminada",localPlayer) end end -- server side: local Trailertable = { [1] = {584, 2613.9821, -2199.5480, 15, 0, 146, 180}, [2] = {584, 2613.9821, -2199.5480, 15, 0, 1422, 180}, [3] = {584, 2613.9821, -2199.5480, 15, 0, 6400, 180}, [4] = {584, 2613.9821, -2199.5480, 15, 0, 1427, 180}, } -- los id de los trailers son = 584,435,450,591,606,607,610,611,608 pero en este job utilizamos el trailer nº 584 local Preciotable = { [1] = {200}, [2] = {350}, [3] = {500}, [4] = {550}, [5] = {670}, [6] = {750}, [7] = {800}, [8] = {850}, [9] = {900}, [10] = {950}, [11] = {1000}, [12] = {1050}, [13] = {1100}, [14] = {1150}, [15] = {1200}, [16] = {1400}, [17] = {1500}, [18] = {1600}, [19] = {1700}, [20] = {1800}, [21] = {1900}, [22] = {2000}, [23] = {2100}, [24] = {2200}, [25] = {2300}, [26] = {2400}, [27] = {2500}, [28] = {2600}, [29] = {2700}, [30] = {2800}, [31] = {2900}, [32] = {3000}, [33] = {3100}, [34] = {3200}, [35] = {3300}, [36] = {3400}, [37] = {3500}, [38] = {3600}, [39] = {3700}, [40] = {3800}, } --Tabla de posiciones local Posiciontable = { [1] = {1959, -1786, 12.5}, [2] = {-1574, -2743, 47.5}, [3] = {-2251, -2552, 30.5}, [4] = {-1697, 390, 6.5}, [5] = {-2425, 953, 44.5}, [6] = {-1268, 2702, 49.5}, [7] = {-1196, 1826, 40.5}, [8] = {89, 1207, 18.5}, [9] = {585, 1656, 6.5}, [10] = {2211, 2466, 9.5}, [11] = {989, -926, 41.5}, [12] = {-100, -1188, 1.5}, } function creablipcirculo() rpBlipOne0 = createBlip ( 2596, -2204, 13, 56 ) -- blip en el mapa y radar (Hospital LS) setBlipVisibleDistance( rpBlipOne0, 250 ) end addEventHandler("onResourceStart", resourceRoot, creablipcirculo) petro = createMarker (2596,-2204,12.5,"cylinder",2.0,0,0,225,100) teampetro = createTeam ( "Petrolero", 255, 255, 50 ) -- abre el gui del cliente function menuShow1 (jugador) if (source == petro) then if getPlayerTeam ( jugador ) == getTeamFromName( teampetro) then triggerClientEvent (jugador,"menuShow1",getRootElement(),jugador) end end end addEventHandler ("onMarkerHit",getRootElement(),menuShow1) addEvent ("aceptar1", true) function aceptar1( id ) if id == "133" then if getElementType (source) == "player" then local level = getPlayerWantedLevel(source) if level == 0 then --si es lvl 0 trabaja setPlayerTeam ( source, teampetro ) -- team medico setPedSkin(source,id) -- le ponemos el skin setPedArmor ( source, 0 ) -- le ponemos sin chaleco anti balas outputChatBox("Estas Trabajando Como Petrolero.", source, 0,255,0) else outputChatBox ("Solamente a Personajes que no sea buscados por la policia se le da el trabajo!!!", source, 255,0,0) end end else outputChatBox ("Selecciona un Skin Valido!!", source, 255,0,0, false) end end addEventHandler( "aceptar1", getRootElement(), aceptar1 ) local ambulancia32 = createMarker (2623.8139, -2207.0749, 12.5, "cylinder", 1.5,0,255,0,150) --cilindro que da la ambulancia function vehicleMarkerHit1 ( hitElement, matchingDimension ) if getElementType ( hitElement ) == "player" and getPlayerTeam ( hitElement ) ==getTeamFromName("Petrolero") then if isPedInVehicle(hitElement) then return true end--si esta en un vehiculo no le da la ambulancia Monters = createVehicle ( 403, 2613.9819, -2208.5371, 14.49, 0, 0, 180 )--donde y rotacion que crea el auto hay que probar si pone el semi ^^ warpPedIntoVehicle(hitElement, Monters) local trailer = math.random(#Trailertable) local id,x,y,z,a,b,r = Trailertable[trailer][1],Trailertable[trailer][2],Trailertable[trailer][3],Trailertable[trailer][4],Trailertable[trailer][5],Trailertable[trailer][6],Trailertable[trailer][7] Monters1 = createVehicle (id,x,y,z,a,b,r) attachTrailerToVehicle(Monters,Monters1) else outputChatBox("Solo a Petrolero se le dará el Camion!!", hitElement, 0, 255, 0 ) end end addEventHandler( "onMarkerHit", ambulancia32 , vehicleMarkerHit1 ) local ambulancia33 = createMarker (2623.8139, -2211.0749, 12.5, "cylinder", 1.5,0,255,255,150) --cilindro que da la ambulancia function vehicleMarkerHit2 ( hitElement, matchingDimension ) if ( getElementType ( hitElement ) == "player" and getPlayerTeam ( hitElement ) == getTeamFromName("Petrolero") )then if isPedInVehicle(hitElement) then return true end--si esta en un vehiculo no le da la ambulancia Monters = createVehicle ( 515, 2613.9819, -2208.5371, 14.49, 0, 0, 180 ) warpPedIntoVehicle(hitElement, Monters) local trailer = math.random(#Trailertable) local id,x,y,z,a,b,r = Trailertable[trailer][1],Trailertable[trailer][2],Trailertable[trailer][3],Trailertable[trailer][4],Trailertable[trailer][5],Trailertable[trailer][6],Trailertable[trailer][7] --Monters1 = createVehicle (math.random(#Trailertable), 2613.9821, -2199.5480, 15, 0, 0, 180) Monters1 = createVehicle (id,x,y,z,a,b,r) attachTrailerToVehicle(Monters,Monters1) else outputChatBox("Solo a Petrolero se le dará el Camion!!", hitElement, 0, 255, 0 ) end end addEventHandler( "onMarkerHit", ambulancia33 , vehicleMarkerHit2 ) function final1(Player) setPlayerTeam ( Player, "Civil" ) -- team medico setPedSkin(Player,0) -- le ponemos el skin setPedArmor ( Player, 0 ) -- le ponemos sin chaleco anti balas outputChatBox("Dejaste de Trabajando Como Petrolero.", Player, 0,255,0) end addCommandHandler("finpet",final1); function truckerJob ( elCamion ) local theTruckTrailerID = getElementModel (source) local ElPlayer = getVehicleOccupant ( elCamion, 0 ) if ( ElPlayer ) and ( theTruckTrailerID == 584 ) then outputChatBox ("Llevar el remolque a la bandera.", ElPlayer, 255, 0, 0, false) NuevaPosicion(ElPlayer) end end addEventHandler("onTrailerAttach", getRootElement(), truckerJob) function flashRed (jugador) fadeCamera(jugador, false, 1.0, 0, 0, 0 ) -- set a 500 ms (0.5 sec) timer to fade it back in before it has completely faded out setTimer ( fadeCamera, 700, 1, jugador, true, 0.5 ) end addEventHandler( "onMarkerHit", getRootElement(), flashRed ) function NuevaPosicion(Player) local posi = math.random(#Posiciontable) local x,z,y = Posiciontable[posi][1],Posiciontable[posi][2],Posiciontable[posi][3] triggerClientEvent(Player,"enviarDestino",Player,x,z,y) end addEvent("misionTerminada",true) addEventHandler("misionTerminada",root, function () local ElPlayer = source flashRed (ElPlayer) local ganado = math.random(#Preciotable) local pagado = Preciotable[ganado][1] givePlayerMoney ( ElPlayer, pagado ) outputChatBox ( "Aprobada la misión, que gana $ ".. pagado, ElPlayer, 255, 0, 0, false ) --aca el nuevo destino NuevaPosicion(ElPlayer) end)
  16. You can't do that with guieditor resource, it's only interface editor.
  17. It depends on how your XML file is designed. This is an example: -- file.xml: <content> Hello world </content> -- client.lua: local xml = xmlLoadFile( "file.xml" ) local content = xmlNodeGetValue( xml ) guiSetText(myGUIMemo, tostring(content))
  18. Post your whole code.
  19. La funcion "getPlayerCountry" en el admin panel es server-side, no podes usarla client-side. -- server side: g_Root = getRootElement() addEventHandler('onPlayerJoin',g_Root, function () local country = exports['admin']:getPlayerCountry(source) setElementData(source,'Country',country) outputChatBox('[JOIN] #ffffff' .. getPlayerName(source) .. '#DB8181 joined game!' .. tostring(country) .. ' ', getRootElement(), 219, 129, 129, true) end ) addEventHandler('onPlayerChangeNick', g_Root, function(oldNick, newNick) outputChatBox('[Change-Nick] #ffffff' .. oldNick .. '#DB8181 is now known as #ffffff' .. newNick, getRootElement(), 219, 129, 129, true) end ) addEventHandler('onPlayerQuit', g_Root, function(reason) outputChatBox('[' .. reason .. '] #ffffff' .. getPlayerName(source) .. ' #DB8181disconnected.', getRootElement(), 255, 0, 0, true) end )
  20. ----------------------- --Show Country ----------------------- exports.scoreboard:addScoreboardColumn('Country') countryNames = { ["IT"]="Italy", ["MX"]="Mexico", ["SA"]="SAUDI ARBIA", ["EG"]="EGYPT" } function showHome () local countryCode = exports["admin"]:getPlayerCountry(source) setElementData(source,"Country",countryNames[countryCode]) outputChatBox(getPlayerName(source) .." has joined from ".. tostring(countryNames[countryCode]) ..".",getRootElement(),0,255,0) end addEventHandler("onPlayerJoin",getRootElement(),showHome)
  21. Castillo

    Some help please!

    <group name="Moderator"> <acl name="Moderator"></acl> <object name="resource.mapcycler"></object> <object name="resource.mapmanager"></object> <object name="resource.resourcemanager"></object> <object name="resource.votemanager"></object> </group> <group name="SuperModerator"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> </group> <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="user.xPress"></object> </group> <group name="Console"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.Console"></object> </group> <group name="RPC"> <acl name="RPC"></acl> </group> <group name="MapEditor"> <acl name="Default"></acl> <acl name="MapEditor"></acl> <object name="resource.editor_main"></object> <object name="resource.edf"></object> </group> <group name="raceACLGroup"> <acl name="Default"></acl> <acl name="raceACL"></acl> <object name="resource.race"></object> </group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="general.http" access="false"></right> <right name="command.start" access="false"></right> <right name="command.stop" access="false"></right> <right name="command.stopall" access="false"></right> <right name="command.gamemode" access="false"></right> <right name="command.changemode" access="false"></right> <right name="command.changemap" access="false"></right> <right name="command.stopmode" access="false"></right> <right name="command.stopmap" access="false"></right> <right name="command.skipmap" access="false"></right> <right name="command.restart" access="false"></right> <right name="command.refresh" access="false"></right> <right name="command.refreshall" access="false"></right> <right name="command.addaccount" access="false"></right> <right name="command.delaccount" access="false"></right> <right name="command.debugscript" access="false"></right> <right name="command.chgpass" access="false"></right> <right name="command.loadmodule" access="false"></right> <right name="command.upgrade" access="false"></right> <right name="command.mute" access="false"></right> <right name="command.crun" access="false"></right> <right name="command.srun" access="false"></right> <right name="command.run" access="false"></right> <right name="command.unmute" access="false"></right> <right name="command.kick" access="false"></right> <right name="command.ban" access="false"></right> <right name="command.banip" access="false"></right> <right name="command.unbanip" access="false"></right> <right name="command.shutdown" access="false"></right> <right name="command.install" access="false"></right> <right name="command.aexec" access="false"></right> <right name="command.whois" access="false"></right> <right name="command.whowas" access="false"></right> <right name="function.executeCommandHandler" access="false"></right> <right name="function.setPlayerMuted" access="false"></right> <right name="function.addAccount" access="false"></right> <right name="function.addBan" access="false"></right> <right name="function.removeBan" access="false"></right> <right name="function.removeAccount" access="false"></right> <right name="function.setAccountPassword" access="false"></right> <right name="function.kickPlayer" access="false"></right> <right name="function.banIP" access="false"></right> <right name="function.banPlayer" access="false"></right> <right name="function.banSerial" access="false"></right> <right name="function.getBansXML" access="false"></right> <right name="function.unbanIP" access="false"></right> <right name="function.unbanSerial" access="false"></right> <right name="function.getClientIP" access="false"></right> <right name="function.setServerPassword" access="false"></right> <right name="function.getServerPassword" access="false"></right> <right name="function.callRemote" access="false"></right> <right name="function.startResource" access="false"></right> <right name="function.stopResource" access="false"></right> <right name="function.restartResource" access="false"></right> <right name="function.createResource" access="false"></right> <right name="function.copyResource" access="false"></right> <right name="function.addResourceMap" access="false"></right> <right name="function.addResourceConfig" access="false"></right> <right name="function.removeResourceFile" access="false"></right> <right name="function.setResourceDefaultSetting" access="false"></right> <right name="function.removeResourceDefaultSetting" access="false"></right> <right name="function.redirectPlayer" access="false"></right> <right name="function.aclReload" access="false"></right> <right name="function.aclSave" access="false"></right> <right name="function.aclCreate" access="false"></right> <right name="function.aclDestroy" access="false"></right> <right name="function.aclSetRight" access="false"></right> <right name="function.aclRemoveRight" access="false"></right> <right name="function.aclCreateGroup" access="false"></right> <right name="function.aclDestroyGroup" access="false"></right> <right name="function.aclGroupAddACL" access="false"></right> <right name="function.aclGroupRemoveACL" access="false"></right> <right name="function.aclGroupAddObject" access="false"></right> <right name="function.aclGroupRemoveObject" access="false"></right> <right name="function.refreshResources" access="false"></right> <right name="function.setServerConfigSetting" access="false"></right> <right name="function.updateResourceACLRequest" access="false"></right> <right name="command.aclrequest" access="false"></right> <right name="general.adminpanel" access="false"></right> <right name="general.tab_players" access="false"></right> <right name="general.tab_resources" access="false"></right> <right name="general.tab_maps" access="false"></right> <right name="general.tab_server" access="false"></right> <right name="general.tab_bans" access="false"></right> <right name="general.tab_adminchat" access="false"></right> <right name="command.freeze" access="false"></right> <right name="command.shout" access="false"></right> <right name="command.spectate" access="false"></right> <right name="command.slap" access="false"></right> <right name="command.setgroup" access="false"></right> <right name="command.sethealth" access="false"></right> <right name="command.setarmour" access="false"></right> <right name="command.setmoney" access="false"></right> <right name="command.setskin" access="false"></right> <right name="command.setteam" access="false"></right> <right name="command.giveweapon" access="false"></right> <right name="command.setstat" access="false"></right> <right name="command.jetpack" access="false"></right> <right name="command.warp" access="false"></right> <right name="command.setdimension" access="false"></right> <right name="command.setinterior" access="false"></right> <right name="command.givevehicle" access="false"></right> <right name="command.repair" access="false"></right> <right name="command.blow" access="false"></right> <right name="command.destroy" access="false"></right> <right name="command.customize" access="false"></right> <right name="command.setcolor" access="false"></right> <right name="command.setpaintjob" access="false"></right> <right name="command.listmessages" access="false"></right> <right name="command.readmessage" access="false"></right> <right name="command.listresources" access="false"></right> <right name="command.execute" access="false"></right> <right name="command.setpassword" access="false"></right> <right name="command.setwelcome" access="false"></right> <right name="command.setgame" access="false"></right> <right name="command.setmap" access="false"></right> <right name="command.setweather" access="false"></right> <right name="command.blendweather" access="false"></right> <right name="command.setblurlevel" access="false"></right> <right name="command.setwaveheight" access="false"></right> <right name="command.setskygradient" access="false"></right> <right name="command.setgamespeed" access="false"></right> <right name="command.setgravity" access="false"></right> <right name="command.settime" access="false"></right> <right name="command.unban" access="false"></right> <right name="command.banserial" access="false"></right> <right name="command.unbanserial" access="false"></right> <right name="command.listbans" access="false"></right> </acl> <acl name="Moderator"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="command.gamemode" access="true"></right> <right name="command.changemode" access="true"></right> <right name="command.changemap" access="true"></right> <right name="command.stopmode" access="true"></right> <right name="command.stopmap" access="true"></right> <right name="command.skipmap" access="true"></right> <right name="command.mute" access="true"></right> <right name="command.unmute" access="true"></right> <right name="command.whois" access="true"></right> <right name="command.whowas" access="true"></right> <right name="function.setPlayerMuted" access="true"></right> <right name="function.kickPlayer" access="true"></right> <right name="function.banIP" access="true"></right> <right name="function.banPlayer" access="true"></right> <right name="function.banSerial" access="true"></right> <right name="function.getBansXML" access="true"></right> <right name="function.unbanIP" access="true"></right> <right name="function.unbanSerial" access="true"></right> <right name="function.getClientIP" access="true"></right> <right name="function.startResource" access="true"></right> <right name="function.stopResource" access="true"></right> <right name="function.restartResource" access="true"></right> <right name="function.redirectPlayer" access="true"></right> <right name="general.adminpanel" access="true"></right> <right name="general.tab_players" access="true"></right> <right name="general.tab_resources" access="false"></right> <right name="general.tab_maps" access="false"></right> <right name="general.tab_server" access="true"></right> <right name="general.tab_bans" access="false"></right> <right name="general.tab_adminchat" access="true"></right> <right name="command.kick" access="false"></right> <right name="command.freeze" access="true"></right> <right name="command.shout" access="true"></right> <right name="command.spectate" access="true"></right> <right name="command.slap" access="true"></right> <right name="command.setgroup" access="false"></right> <right name="command.sethealth" access="true"></right> <right name="command.setarmour" access="true"></right> <right name="command.setmoney" access="false"></right> <right name="command.setskin" access="true"></right> <right name="command.setteam" access="true"></right> <right name="command.giveweapon" access="true"></right> <right name="command.setstat" access="true"></right> <right name="command.jetpack" access="true"></right> <right name="command.warp" access="true"></right> <right name="command.setdimension" access="true"></right> <right name="command.setinterior" access="true"></right> <right name="command.createteam" access="false"></right> <right name="command.destroyteam" access="false"></right> <right name="command.givevehicle" access="true"></right> <right name="command.repair" access="true"></right> <right name="command.blowvehicle" access="true"></right> <right name="command.destroyvehicle" access="true"></right> <right name="command.customize" access="true"></right> <right name="command.setcolor" access="true"></right> <right name="command.setpaintjob" access="true"></right> <right name="command.listmessages" access="true"></right> <right name="command.readmessage" access="true"></right> <right name="command.listresources" access="true"></right> <right name="command.start" access="false"></right> <right name="command.stop" access="false"></right> <right name="command.stopall" access="false"></right> <right name="command.restart" access="false"></right> <right name="command.execute" access="false"></right> <right name="command.setpassword" access="false"></right> <right name="command.setwelcome" access="false"></right> <right name="command.setgame" access="false"></right> <right name="command.setmap" access="false"></right> <right name="command.setweather" access="true"></right> <right name="command.blendweather" access="true"></right> <right name="command.setblurlevel" access="true"></right> <right name="command.setwaveheight" access="true"></right> <right name="command.setskygradient" access="true"></right> <right name="command.setgamespeed" access="true"></right> <right name="command.setgravity" access="true"></right> <right name="command.settime" access="true"></right> <right name="command.ban" access="false"></right> <right name="command.unban" access="false"></right>
×
×
  • Create New...