Jump to content

Twig

MTA Contributors
  • Posts

    135
  • Joined

  • Last visited

Posts posted by Twig

  1. lol yes that's my fault, but they deserve it.

    tbh I just wanted something that meant my SQL db wouldn't be full of people called 'Player', also I presumed it'd make people want to set themselves proper names.

    Originally it was just to clean out those nasty characters but what the hey :)

  2. I have a resource which changes players names to remove the characters ' and " from names as they mess up SQLite. Also It changes 'Player' to N00B plus some random integer.

    Don't kick people just because they're new, but mock them by all means.

    for example:

        local oldName = getClientName( source ) 
        math.randomseed( getTickCount () ) 
            math.random(100); math.random(100); moo = math.random(100) 
        newName = string.gsub( newName , "Player", "N00B"..tostring(moo)) 
        setClientName( source, newName ) 
    

    Oh and trust me, people will come back over and over and over again. Take it as a complement :P

  3. well anyone knows with basic GTA editing for a custom model to work it needs a .txd and a .col to function proply.

    [/code]

    You don't need a collision file or a txd, you can import a dff on it's own creating an untextured model.

    Hoss this is very strange because I've recently created a model in gmax, not got 3DS yet :P, and used Kams scripts and it worked fine....

  4. This occurred on the SAES server under high load, the server was actually eating up 200+mb of RAM for most of the day and seemed rock solid until I restarted on a rather processor hungry (but only at startup) resource which essentially refreshes the vehicles in the map, all the vehicles are removed then re-added this is done with about 300+ vehicles.

    I often restart this resource and this is the first time it has caused or seems to have caused a server crash.

    http://www.pinkboxstudio.co.uk/server_02012008_2257.dmp

  5. What i meant was a joke, in reference to a lot of programs i have used saying "Infinite loop" and the fact that when you make a circle of trailers that are all joined, it haas no start and end, Thus its an "Endless loop"

    But it seems that noone got the joke. :-(

    Your sence of humour is bad and you should feel bad.

    :-)

    :? I have a great sense of humour, i.e .... your face! hahahahah

    :)

  6. Sorry to sound lame.... and i know its of no help....

    But it looks like you have an "Endless Loop"

    Lol.

    Look closer, or tbh just read it properly. The while starts at 40 counting backwards in steps of i - 1, till i would equal less than 0 and it'd stop.

  7. you can customise the highlighting in notepad++ for lua, take a snoop around the settings.

    EDIT: someone made an api extension to notepad++ including all the functions for autocomplete, you can use that along with copying all the functions into the style configurator, I forget where it is, I can upload it if need be.

  8. It would be useful for certain things to have gui positions relative, but the size in pixel values.

    Things such as static images which are a predefined pixel size but you want to places relative to the screen size.

  9. http://www.pinkboxstudio.com/server_01272008_1309.dmp

    [13:09:42] WARNING: * 
      
    : Bad argument @ 'getPlayerOccupiedVehicle' - Line: 1 
    [13:09:42] WARNING: * 
      
    : Bad argument @ 'setVehiclePanelState' - Line: 1 
    [13:09:42] ADMIN: [sAES]Twig[Working] executed command: setVehiclePanelState ( getPlayerOccupiedVehicle ( getPlayerFromNick("[sAES]Twig") ), 4, 1 ) 
    

    I was testing setVehiclePanelState and it threw out this. I don't think it's related as I was actually using the wrong name ^_^

    And another :

    http://www.pinkboxstudio.com/server_01272008_1319.dmp

    [13:19:43] ERROR: not enough memory

    This seemed a bit unusual or random as there was no real reason for it.

×
×
  • Create New...