Jump to content

acp___(PL)

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by acp___(PL)

  1. I tried something like this and it does not work ... I read the wiki and not only that, but I have something bad to understand ... g_Root = getRootElement() local screenWidth, screenHeight = guiGetScreenSize() function createText () dxDrawText( "TEST", screenWidth/2, screenHeight/2, tocolor ( 0, 0, 0, 255 ), 10, "pricedown") end function instruktionToPlayer ( j_PlayerName ) outputChatBox( "TEST client side" .. j_PlayerName ) outputChatBox( "TEST client side" ) addEventHandler("onClientRender",g_Root, createText) end addEvent( "onPlayer_instruktion", true ) addEventHandler( "onPlayer_instruktion", g_Root, instruktionToPlayer ) function createText2 () dxDrawText( "TEST2", screenWidth/2, screenHeight/2, tocolor ( 0, 0, 0, 255 ), 2, "pricedown") end addEventHandler( 'onClientRender', getRootElement(), createText2 ) lines 16-19 in the middle of the screen should be a string TEST2 ...
  2. Blips are created but doesn't removed ... col_blip = createColSphere ( -84.0570, -2765.6428, 69.9104, 400) function create_blip (pla) createBlip ( -307.2204, -2752.5786, 70.8629, 47, 1, pla ) createBlip ( -310.3098, -2857.3950, 41.0316, 47, 1, pla ) createBlip ( -76.7017, -2877.6662, 38.5667, 47, 1, pla ) createBlip ( 54.8855, -2651.9997, 39.4814, 47, 1, pla ) createBlip ( -50.3280, -2481.7639, 35.7425, 47, 1, pla ) createBlip ( -64.4422, -2580.7946, 70.466, 47, 1, pla ) createBlip ( -62.2048, -2740.3339, 73.025, 47, 1, pla ) end addEventHandler ( "onColShapeHit", col_blip, create_blip ) function destroy_blip (pla) local attached = getAttachedElements ( pla ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end addEventHandler ( "onColShapeLeave", col_blip, destroy_blip )
  3. Now works but I do not know why it does not show me a text on the screen (shown only in the chat window) client side (doesn't display text on the screen, shown only in the chat window): g_Root = getRootElement() local screenWidth, screenHeight = guiGetScreenSize() function createText () dxDrawText( "TEST", screenWidth/2, screenHeight/2, tocolor ( 0, 0, 0, 255 ), 10, "pricedown") end function instruktionToPlayer ( j_PlayerName ) outputChatBox( "TEST client side" .. j_PlayerName ) outputChatBox( "TEST client side" ) addEventHandler("onClientRender",g_Root, createText) end addEvent( "onPlayer_instruktion", true ) addEventHandler( "onPlayer_instruktion", g_Root, instruktionToPlayer ) server side (work, do what I wont): g_Root = getRootElement() function forbidenPlayer () local joinedPlayerName = getPlayerName ( source ) if joinedPlayerName == "Player" then triggerClientEvent ( source, "onPlayer_instruktion", g_Root, joinedPlayerName ) outputChatBox( "TEST " .. joinedPlayerName .. " server side", source, 0, 255, 0) end end addEventHandler ( "onPlayerJoin", g_Root, forbidenPlayer ) Perhaps there is another function to display text on screen?
  4. acp___(PL)

    GPS

    What is wrong? ... and no number on the screen are displayed ... [13:03:32] WARNING: gps_s.lua: Bad argument @ 'setElementData' - Line: 7 meta.xml <meta> <script src="gps_s.lua" /> <script src="gps_c.lua" type="client"/> </meta> gps_c.lua local gMe = getLocalPlayer() local screenWidth, screenHeight = guiGetScreenSize() g_rot = getRootElement() addEventHandler ('onClientRender', g-rot function () local myX, meY, myHigh = getElementPosition(gMe) local cps = getElementData(g_Me, 'next.checkpoint') local cpX, cpY, cpHigh = getElementPosition(getElementsByType('checkpoint') [cps]) local distHigh = myHigh - cpHigh local distance = getDistanceBetweenPoints3D(myX, meY, myHigh, cpX, cpY, cpHigh) dxDrawText( distHigh, 5, screenHeight-200, tocolor ( 0, 0, 0, 255 ), 1, "pricedown") dxDrawText( distance, 5, screenHeight-230, tocolor ( 255, 255, 255, 255 ), 1, "pricedown") end ) gps_s.lua g_rot = getRootElement() addEvent('onPlayerReachCheckpoint') addEventHandler('onPlayerReachCheckpoint', g_rot, function (checkpoint) local ncp = checkpoint + 1 setElementData (thePlayer, 'next.checkpoint', ncp) end )
  5. I'm trying to write my first script from scratch I want to that after 5 minutes when someone with nick "Player" or else forbiden nicks join server: - appears on the screen (not in the chat window) information how and why the must change nickname - message is set to grow more and more difficult game But is the future of the script, yet I have a problem with the operating function and trigger ... What do I wrong: meta.xml <meta> <script src="player_server.lua" /> <script src="player_client.lua" type="client" /> </meta> player_client.lua g_Root = getRootElement() addEvent( "onPlayer_instruktion", true ) addEventHandler( "onPlayer_instruktion", g_Root, instruktionToPlayer ) function instruktionToPlayer ( j_PlayerName ) outputChatBox( "TEST client side" .. j_PlayerName, sourcePlayer ) outputChatBox( "TEST client side" ) end player_client.lua g_Root = getRootElement() function forbidenPlayer () local joinedPlayerName = getPlayerName ( source ) triggerClientEvent ( sourcePlayer, "onPlayer_instruktion", g_Root, joinedPlayerName ) outputChatBox( "TEST " .. joinedPlayerName .. " server side", sourcePlayer, 0, 255, 0) end addEventHandler ( "onPlayerJoin", g_Root, forbidenPlayer )
  6. How to make the script starts to work? I added it to the resources that run at startup server To run the script I must have to add it to every race maps with the entry in the meta file?
  7. Still do not know why it does not work ... cheated by adding a script https://community.multitheftauto.com/index.html?p=resources&s=details&id=18
  8. I've found a reason! .../admin.zip/conf/ACL.xml <!-- Access List of commands Admin System uses. This is the default setup. Editing this file will not update the ACL settings if the admin resources has been started at least once on the server. --> Editing this file will not update the ACL settings if the admin resources has been started at least once on the server. will updeted!! Musiałem w tym pliku wprowadzić ustawienia jakie chce mieć w ACL.xml
  9. thought that after uploading the new files (mainly the resource RACE) function will work I was wrong ... race.zip/race_client.lua --------------------------------------------------------------------------- -- -- Commands and binds -- -- -- --------------------------------------------------------------------------- function kill() if Spectate.active then if Spectate.savePos then triggerServerEvent('onClientRequestSpectate', g_Me, false ) end else triggerServerEvent('onRequestKillPlayer', g_Me) end end addCommandHandler('kill',kill) addCommandHandler('Commit suicide',kill) bindKey ( next(getBoundKeys"enter_exit"), "down", "Commit suicide" ) --[[bindKey('enter_exit', 'down', function() if Spectate.active then if Spectate.savePos then triggerServerEvent('onClientRequestSpectate', g_Me, false ) end else triggerServerEvent('onRequestKillPlayer', g_Me) end end )]] --[[bindKey('b', 'down', function() if not g_PlayerInfo.testing and not g_PlayerInfo.admin then return end if Spectate.active then if Spectate.savePos then triggerServerEvent('onClientRequestSpectate', g_Me, false ) end else triggerServerEvent('onClientRequestSpectate', g_Me, true ) end end )]] function spectate() if not g_PlayerInfo.testing and not g_PlayerInfo.admin then return end if Spectate.active then if Spectate.savePos then triggerServerEvent('onClientRequestSpectate', g_Me, false ) end else triggerServerEvent('onClientRequestSpectate', g_Me, true ) end end addCommandHandler('spectate',spectate) addCommandHandler('Toggle spectator',spectate) bindKey("b","down","Toggle spectator") function setPipeDebug(bOn) g_bPipeDebug = bOn outputConsole( 'bPipeDebug set to ' .. tostring(g_bPipeDebug) ) end Server logs: [22:06:56] ERROR: Client triggered serverside event onRequestKillPlayer, but event is not marked as remotly triggerable Edit: 2009.09.16 22:40 Assuming you have created that event, you need to add true as the second argument in the addEvent call. line 16 my previous post triggerServerEvent('onRequestKillPlayer', g_Me, true) nothing changes
  10. thanks for help I was again analyze the race_serwer.lua and ... line: 7 function cacheGameOptions() g_GameOptions = {} g_GameOptions.timeafterfirstfinish = getNumber('race.timeafterfirstfinish',30) * 1000 g_GameOptions.hurrytime = getNumber('race.hurrytime',15) * 1000 g_GameOptions.defaultrespawntime = getNumber('race.respawntime',5) * 1000 (...) g_GameOptions.timeafterfirstfinish_map_can_override = getNumber('race.timeafterfirstfinish_map_can_override',30) * 1000 or now I think: g_GameOptions.timeafterfirstfinish_map_can_override = getBool('race.timeafterfirstfinish_map_can_override',true) -- Set timeafterfirstfinish from g_GameOptions if not defined in the map, or map override not allowed if not map.timeafterfirstfinish or not g_GameOptions.timeafterfirstfinish_map_can_override then g_MapOptions.timeafterfirstfinish = g_GameOptions.timeafterfirstfinish end g_SavedMapSettings.timeafterfirstfinish = map.timeafterfirstfinish Nobody can help me? or Nobody wants to help me?
  11. What is the difference? <setting name="*timeafterfirstfinish" value="20" /> <setting name="#timeafterfirstfinish" value="20" /> It is difficult to find on Google and the forum of individual characters: "#" or "*" ...
  12. I prefer to make sure it's not my fault ...
  13. But I added a few lines in race_server.lua (RACE resources) Link to the topic in the previous post
  14. I have a server on my computer, which may be the reason *** NETWORK TROUBLE ***? The inscription appears for a split second, it was hard to take a PrintScrean Its only appears when I finished the race and wait for the end of the map ... It is possible that there is a fault this modifications: https://forum.multitheftauto.com/viewtop ... 91&t=25334
  15. I'm talking about "race" resources, I don't remeber that I were editing it ...
  16. I always edit and save the file when the server is off After that when I turn on and turn off the server this part does not change <group name="2RT"> <acl name="2RT" /> <object name="user.[2RT]Xxxxx" /> </group> <group name="Moderator2RT"> <acl name="Moderator2RT" /> <object name="user.[2RT]XxXxX.PL" /> <object name="user.[2RT]Xxxxxxx" /> <object name="user.[2RT]Xxxxxx[PL]" /> </group> It resets only the right!
  17. "Enter/Exit - Kill player" doesnt work
  18. On my server I have maps that have persisted for one hour and maps persisted for one minut. I would like to set a parameter "*timeafterfirstfinish" in file meta.xml for each map individual! I'm too stupid to write script myself, so the only thing that occurred to me add the appropriate lines in the resource race (resorce included MTA:SA 1.0): What I doing wrong? meta.xls (resource race-jpetrol) <?xml version="1.0" encoding="utf-16"?> <meta> <info type="map" gamemodes="race" name="J Petrol" author="Gamingkrazy" description="Urmm... V1" version="1" /> <map src="J Petrol.map" /> <settings> <setting name="#respawn" value="timelimit" /> <setting name="*timeafterfirstfinish" value="20" /> <setting name="*ghostmode" value="false" /> <setting name="*ghostalpha" value="false" /> <setting name="*vehicleweapons" value="true" /> <setting name="*autopimp" value="false" /> </settings> </meta> <setting name="*timeafterfirstfinish" value="20" /> race_server.lua (resources race) check line: 28, 57, 101, 102, 103, 147 (...) function cacheGameOptions() g_GameOptions = {} g_GameOptions.timeafterfirstfinish = getNumber('race.timeafterfirstfinish',30) * 1000 g_GameOptions.hurrytime = getNumber('race.hurrytime',15) * 1000 g_GameOptions.defaultrespawntime = getNumber('race.respawntime',5) * 1000 g_GameOptions.ghostmode = getBool('race.ghostmode',false) g_GameOptions.ghostalpha = getBool('race.ghostalpha',false) g_GameOptions.randommaps = getBool('race.randommaps',false) g_GameOptions.statskey = getString('race.statskey','name') g_GameOptions.vehiclecolors = getString('race.vehiclecolors','file') g_GameOptions.skins = getString('race.skins','cj') g_GameOptions.autopimp = getBool('race.autopimp',true) g_GameOptions.vehicleweapons = getBool('race.vehicleweapons',true) g_GameOptions.firewater = getBool('race.firewater',false) g_GameOptions.cachemodels = getBool('race.cachemodels',true) g_GameOptions.admingroup = getString('race.admingroup','Admin') g_GameOptions.blurlevel = getNumber('race.blur',36) g_GameOptions.cloudsenable = getBool('race.clouds',true) g_GameOptions.ghostmode_map_can_override = getBool('race.ghostmode_map_can_override',true) g_GameOptions.skins_map_can_override = getBool('race.skins_map_can_override',true) g_GameOptions.vehicleweapons_map_can_override = getBool('race.vehicleweapons_map_can_override',true) g_GameOptions.autopimp_map_can_override = getBool('race.autopimp_map_can_override',true) g_GameOptions.firewater_map_can_override = getBool('race.firewater_map_can_override',true) g_GameOptions.cachemodels_map_can_override = getBool('race.cachemodels_map_can_override',true) g_GameOptions.ghostmode_warning_if_map_override = getBool('race.ghostmode_warning_if_map_override',true) g_GameOptions.vehicleweapons_warning_if_map_override = getBool('race.vehicleweapons_warning_if_map_override',true) g_GameOptions.timeafterfirstfinish_map_override = getNumber('race.timeafterfirstfinish',30) * 1000 if g_GameOptions.statskey ~= 'name' and g_GameOptions.statskey ~= 'serial' then outputWarning( "statskey is not set to 'name' or 'serial'" ) g_GameOptions.statskey = 'name' end end function cacheMapOptions(map) g_MapOptions = {} g_MapOptions.duration = map.duration and tonumber(map.duration) > 0 and map.duration*1000 or 600000 if g_MapOptions.duration > 86400000 then g_MapOptions.duration = 86400000 end g_MapOptions.respawn = map.respawn if not g_MapOptions.respawn or g_MapOptions.respawn ~= 'none' then g_MapOptions.respawn = 'timelimit' end g_MapOptions.respawntime = g_MapOptions.respawn == 'timelimit' and (map.respawntime and map.respawntime*1000 or g_GameOptions.defaultrespawntime) g_MapOptions.time = map.time or '12:00' g_MapOptions.weather = map.weather or 0 g_MapOptions.skins = map.skins or 'cj' g_MapOptions.vehicleweapons = map.vehicleweapons == 'true' g_MapOptions.ghostmode = map.ghostmode == 'true' g_MapOptions.autopimp = map.autopimp == 'true' g_MapOptions.firewater = map.firewater == 'true' g_MapOptions.cachemodels = map.cachemodels == 'true' g_MapOptions.timeafterfirstfinish = map.timeafterfirstfinish or 30 * 1000 outputDebug("MISC", "duration = "..g_MapOptions.duration.." respawn = "..g_MapOptions.respawn.." respawntime = "..tostring(g_MapOptions.respawntime).." time = "..g_MapOptions.time.." weather = "..g_MapOptions.weather) if g_MapOptions.time then setTime(g_MapOptions.time:match('(%d+)%d+)')) end if g_MapOptions.weather then setWeather(g_MapOptions.weather) end -- Set ghostmode from g_GameOptions if not defined in the map, or map override not allowed if not map.ghostmode or not g_GameOptions.ghostmode_map_can_override then g_MapOptions.ghostmode = g_GameOptions.ghostmode elseif g_GameOptions.ghostmode_warning_if_map_override and g_MapOptions.ghostmode ~= g_GameOptions.ghostmode then if g_MapOptions.ghostmode then outputChatBox( 'Notice: Collisions are turned off for this map' ) else outputChatBox( 'Notice: Collisions are turned on for this map' ) end end -- Set skins from g_GameOptions if not defined in the map, or map override not allowed if not map.skins or not g_GameOptions.skins_map_can_override then g_MapOptions.skins = g_GameOptions.skins end -- Set vehicleweapons from g_GameOptions if not defined in the map, or map override not allowed if not map.vehicleweapons or not g_GameOptions.vehicleweapons_map_can_override then g_MapOptions.vehicleweapons = g_GameOptions.vehicleweapons elseif g_GameOptions.vehicleweapons_warning_if_map_override and g_MapOptions.vehicleweapons ~= g_GameOptions.vehicleweapons then if g_MapOptions.vehicleweapons then outputChatBox( 'Notice: Vehicle weapons are turned on for this map' ) else outputChatBox( 'Notice: Vehicle weapons are turned off for this map' ) end end -- Set autopimp from g_GameOptions if not defined in the map, or map override not allowed if not map.autopimp or not g_GameOptions.autopimp_map_can_override then g_MapOptions.autopimp = g_GameOptions.autopimp end -- Set timeafterfirstfinish from g_GameOptions if not defined in the map, or map override not allowed if not map.timeafterfirstfinish or not g_GameOptions.timeafterfirstfinish_map_override then g_MapOptions.timeafterfirstfinish = g_GameOptions.timeafterfirstfinish end -- Set firewater from g_GameOptions if not defined in the map, or map override not allowed if not map.firewater or not g_GameOptions.firewater_map_can_override then g_MapOptions.firewater = g_GameOptions.firewater end -- Set cachemodels from g_GameOptions if not defined in the map, or map override not allowed if not map.cachemodels or not g_GameOptions.cachemodels_map_can_override then g_MapOptions.cachemodels = g_GameOptions.cachemodels end end -- Called from: -- onGamemodeMapStart function loadMap(res) local map = RaceMap.load(res) if not map then outputDebugString( 'Error loading map ' .. tostring(getResourceName(res)) ) outputChatBox( 'Error loading map ' .. tostring(getResourceName(res)) ) return false end -- set options g_MapInfo = {} g_MapInfo.name = map.info['name'] or 'unnamed' g_MapInfo.resname = map.info['resname'] or getResourceName(res) g_SavedMapSettings = {} g_SavedMapSettings.duration = map.duration g_SavedMapSettings.respawn = map.respawn g_SavedMapSettings.respawntime = map.respawntime g_SavedMapSettings.time = map.time g_SavedMapSettings.weather = map.weather g_SavedMapSettings.skins = map.skins g_SavedMapSettings.vehicleweapons = map.vehicleweapons g_SavedMapSettings.ghostmode = map.ghostmode g_SavedMapSettings.autopimp = map.autopimp g_SavedMapSettings.firewater = map.firewater g_SavedMapSettings.cachemodels = map.cachemodels g_SavedMapSettings.firewater = map.firewater g_SavedMapSettings.timeafterfirstfinish = map.timeafterfirstfinish (...) meta.xls (resources race) (...) <setting name="*ghostmode_map_can_override" friendlyname="Ghost mode map override" group="Gameplay" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*skins_map_can_override" friendlyname="Driver skin map override" group="Graphics" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*vehicleweapons_map_can_override" friendlyname="Vehicle weapons map override" group="Gameplay" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*autopimp_map_can_override" friendlyname="Auto pimp map override" group="Graphics" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*firewater_map_can_override" friendlyname="Firewater map override" group="Graphics" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*cachemodels_map_can_override" friendlyname="Cache models map override" group="_Advanced" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*timeafterfirstfinish_map_can_override" friendlyname="Finish race time map override" group="_Advanced" value="true" accept="false,true" desc="Set to true to allow the map to override this setting"/> <setting name="*ghostmode_warning_if_map_override" friendlyname="Ghost mode override warning" group="Gameplay" value="true" accept="false,true" desc="Set to true to issue a warning to players in the chatbox, if the map overrides this setting"/> <setting name="*vehicleweapons_warning_if_map_override" friendlyname="Vehicle weapons override warning" group="Gameplay" value="true" accept="false,true" desc="Set to true to issue a warning to players in the chatbox, if the map overrides this setting"/> </settings> (...)
  19. I chose the harder way because easy way not work as I was described in the first post ... 1) First I ran the server 2) Changed rights in the file acl 3) Save file 4) I the admin console entered: "aclReload()" 5) Turn off server 6) Checking the file and server was restore settings ...
  20. How to change the acl file so that the changes have been saved after a reboot? <group name="2RT"> <acl name="2RT" /> <object name="user.[2RT]Xxxxx" /> </group> <group name="Moderator2RT"> <acl name="Moderator2RT" /> <object name="user.[2RT]XxXxX.PL" /> <object name="user.[2RT]Xxxxxxx" /> <object name="user.[2RT]Xxxxx[PL]" /> </group> Change I doing when a server is off. <acl name="2RT"> <right name="general.adminpanel" access="true" /> <right name="general.tab_players" access="true" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="true" /> <right name="command.kick" access="true" /> <right name="command.freeze" access="true" /> <right name="command.mute" access="true" /> <right name="command.shout" access="true" /> <right name="command.spectate" access="true" /> <right name="command.slap" access="true" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="true" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="false" /> <right name="command.unban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="true" /> </acl> <acl name="Moderator2RT"> <right name="general.adminpanel" access="true" /> <right name="general.tab_players" access="true" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="true" /> <right name="general.tab_adminchat" access="true" /> <right name="command.kick" access="true" /> <right name="command.freeze" access="true" /> <right name="command.mute" access="true" /> <right name="command.shout" access="true" /> <right name="command.spectate" access="true" /> <right name="command.slap" access="true" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="true" /> <right name="command.setcolor" access="true" /> <right name="command.setpaintjob" access="true" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="true" /> <right name="command.unban" access="true" /> <right name="command.banip" access="true" /> <right name="command.unbanip" access="true" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="true" /> </acl> When I started server and then off, restores the default value ... <acl name="2RT"> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.kick" access="false" /> <right name="command.freeze" access="false" /> <right name="command.mute" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="false" /> <right name="command.unban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl> <acl name="Moderator2RT"> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.kick" access="false" /> <right name="command.freeze" access="false" /> <right name="command.mute" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="false" /> <right name="command.unban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl>
  21. acp___(PL)

    GPS

    Easy to script, if someone has a basic knowledge: a) height at which there is a checkpoint; b) direction to the next checkpoint (graphical indicator); c) distance to the next checkpoint. http://img16.imageshack.us/img16/6397/m ... 170443.png ad.a) 1- being above the positive value of the difference in hight ad.a) 2- being below the negative value of the difference in hight In MTAGUS I wrote scripts*, but with this I give up I'm working and I don't have enough time for play MTA:SA *) 20 best times on the map; expanded scoring system for winning races, taking into account the length of the race, the number of players, etc.; etc. ...
  22. There is an easier way to change the parameters of the car's? https://wiki.multitheftauto.com/index.php?title=Handling_system I was looking on the forum and the only thing that I found meaningful ... https://forum.multitheftauto.com/viewtopic.php?f=91&t=24840&p=293232&hilit=replacing+handling#p293232 ... but this is not a good information
×
×
  • Create New...