Jump to content

Azu

Members
  • Posts

    247
  • Joined

  • Last visited

Posts posted by Azu

  1.   
            <setting name="#skins" value='[ "cj" ]' /> 
            <setting name="#maxplayers" value="[ 128 ]" /> 
            <setting name="#gamespeed" value="[ 1 ]" /> 
            <setting name="#ghostmode" value='[ "false" ]' /> 
            <setting name="#time" value="23:0" /> 
            <setting name="#vehicleweapons" value='[ "false" ]' /> 
            <setting name="#minplayers" value="[ 0 ]" /> 
            <setting name="#weather" value="[ 0 ]" /> 
            <setting name="#gravity" value="[ 0.008000 ]" /> 
            <setting name="#waveheight" value="[ 0 ]" /> 
            <setting name="#respawntime" value="[ 5 ]" /> 
            <setting name="#locked_time" value="[ false ]" /> 
            <setting name="#duration" value="[ 1800 ]" /> 
            <setting name="#respawn" value='[ "timelimit" ]' /> 
        </settings> 
      
    

    Is there a reason why mta does this? The """ thing Also, it all sets my options to the default settings. Like, if I changet ghost mode on, it will turn it off after a test.

  2. I have an issue. When I add to objects to the map, they show up fine when testing. When go back and delete some of the objects, the still show up during testing, but not in the editor. I dunno why it's doing that. When I save, it would say "Map is saving...this could take a while." Before I reinstalled WIndows, I never seen a message like that.

    I tired deleting the editor_test and editor_dump. Even reinstalling MTA.

    mta-screen_2011-03-05_03-39-19.png

    mta-screen_2011-03-05_03-39-12.png

    I have the latest mta patch and resources installed .

    From dxdiag

      
    ------------------ 
    System Information 
    ------------------ 
    Time of this report: 3/5/2011, 03:26:30 
           Machine name: AZU-PC 
       Operating System: Windows 7 Professional 32-bit (6.1, Build 7600) (7600.win7_gdr.101026-1503) 
               Language: English (Regional Setting: English) 
    System Manufacturer: ECS-USA 
           System Model: GeForce6100PM-M2 
                   BIOS: )Phoenix - Award WorkstationBIOS v6.00PG 
              Processor: AMD Athlon(tm) 7750 Dual-Core Processor (2 CPUs), ~2.7GHz 
                 Memory: 2048MB RAM 
    Available OS Memory: 2046MB RAM 
              Page File: 1422MB used, 2670MB available 
      
        DirectX Version: DirectX 11 
    DX Setup Parameters: Not found 
       User DPI Setting: Using System DPI 
     System DPI Setting: 96 DPI (100 percent) 
        DWM DPI Scaling: Disabled 
         DxDiag Version: 6.01.7600.16385 32bit Unicode 
      
    

      
    =========================================================== 
    = Multi Theft Auto: San Andreas v1.0.4 
    =========================================================== 
    = Server name      : Default MTA Server 
    = Server IP address:  
    = Server port      : 22003 
    =  
    = Log file         : ..reas/server/mods/deathmatch/logs/server.log 
    = Maximum players  : 32 
    = MTU packet size  : 1264 
    = HTTP port        : 22005 
    =========================================================== 
    [2011-03-05 06:24:51] Resources: 75 loaded, 0 failed 
    [2011-03-05 06:24:51] Querying game-monitor.com master server... success! 
    [2011-03-05 06:24:51] Querying backup master server... success! 
    [2011-03-05 06:24:51] Starting resources... 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' DISALLOW added in ACL 'Default' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' DISALLOW added in ACL 'Moderator' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' ALLOW added in ACL 'SuperModerator' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' ALLOW added in ACL 'Admin' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' DISALLOW added in ACL 'RPC' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' DISALLOW added in ACL 'MapEditor' 
    [2011-03-05 06:24:52] ACL: admin: Right 'general.tab_maps' DISALLOW added in ACL 'raceACL' 
    [2011-03-05 06:24:52] INFO: Admin added 7 missing rights 
    [2011-03-05 06:24:52] INFO: Race resource starting 
    [2011-03-05 06:24:52] start: Resource 'race_toptimes' started 
    [2011-03-05 06:24:52] start: Resource 'race_traffic_sensor' started 
    [2011-03-05 06:24:52] INFO: Race onGamemodeStart 
    [2011-03-05 06:24:52] edf\edf.lua:155: Loaded definitions for 'edf'. 
    [2011-03-05 06:24:52] edf\edf.lua:155: Loaded definitions for 'editor_main'. 
    [2011-03-05 06:24:52] INFO: Editor: Unable to stop running gamemodes (no access to function.stopResource) 
    [2011-03-05 06:24:52] Server started and is ready to accept connections! 
    [2011-03-05 06:24:52] Type 'help' for a list of commands. 
    [2011-03-05 06:24:52] Starting race-dm-randomv2-surf-rail 
    [2011-03-05 06:24:53] INFO: onGamemodeMapStart(race-dm-randomv2-surf-rail) 
    [2011-03-05 06:24:53] INFO: Stopping map 
    [2011-03-05 06:24:53] WARNING: race\_joiner.lua:97: Bad 'element' pointer @ 'getElementsByType'(2) 
    [2011-03-05 06:24:53] ERROR: race\race_server.lua:40: race\race_server.lua:760: bad argument #1 to 'ipairs' (table expected, got boolean) 
    [2011-03-05 06:24:53] Map 'Random V2 - Surf Rail' started. 
    [2011-03-05 06:24:53] edf\edf.lua:127: Going to represent map race-dm-randomv2-surf-rail 
    [2011-03-05 06:24:53] start: Resource 'race-dm-randomv2-surf-rail' started 
    [2011-03-05 06:24:53] INFO: Loaded map in 62 ms 
      
    

    From the server log.

  3. function GetPosition ( player ) 
        local x, y, z =  getElementPosition( player ) 
     outputChatBox("Your Position: "..x..", "..y..", "..z..") 
    end 
    addCommandHandler ( "Postion", GetPosition ) 
     
    

    This isn't working. It keeps saying something about an unexpected symbol.

    What I want to do is get the players position and then have it blow up once is goes past a value in the Y position, like past - 4000 in Y only.

  4. Based on angular velocity. Pretty much like the Dash rings in Sonic Rush series.

    . Don't have to put the whole code, but you can put the math, with an explanation. Or if there's a way to set a vehicle speed towards an element, like a Marker, that's be cool too.
  5. I'm having issue.

    I'm trying to place the model, col and txd, but it's not working at all. I try typing replace in the command box, but it not work. Also, I need it to replace on the start of the map.=/

    meta

      
    <meta> 
        <info gamemodes="race" type="map" name="Special Stage" author="Random" version="1.0.0" /> 
        <map src="[DM] RND Special Stage.map" dimension="0" /> 
        <settings> 
            <setting name="#minplayers" value="[ 0 ]" /> 
            <setting name="#maxplayers" value="[ 32 ]" /> 
            <setting name="#gravity" value="[ 0.008000 ]" /> 
            <setting name="#weather" value="[ 0 ]" /> 
            <setting name="#time" value="12:0" /> 
            <setting name="#locked_time" value="[ false ]" /> 
            <setting name="#waveheight" value="[ 0 ]" /> 
            <setting name="#gamespeed" value="[ 1 ]" /> 
        </settings> 
        <script src="Lift.lua" type="server" /> 
        <script src="replace_cl.lua" type="client" /> 
        <file src="vgssland01.txd" /> 
        <file src="vgsSairportland06.dff" /> 
        <file src="vgsSairportland06.col" /> 
      
    </meta> 
      
      
    

    replace_cl

      
    function ReplaceObject ( ) 
      
    txd = engineLoadTXD( "vgssland01.txd" ) 
    col = engineLoadCOL( "vgsSairportland06.dff" ) 
    dff = engineLoadDFF( "vgsSairportland06.col", 0 ) --modelid is everytime 0, when you replace no vehicle 
      
    engineImportTXD( txd, 1234 ) 
    engineReplaceCOL( col, 1234 ) 
    engineReplaceModel( dff, 1234 )-- replace the model at least 
      
    end 
      
    addEvent ( "replaceObj", true ) 
    addEventHandler ( "replaceObj", getRootElement(), ReplaceObject ) 
      
    

    replace_sv

      
    function ReplaceCommand ( ) 
    triggerClientEvent( "replaceObj", getRootElement(), replaceObj ) 
    end 
    addCommandHandler( "replace", ReplaceCommand ) 
      
    

×
×
  • Create New...