Jump to content

Willy

MTA Contributors
  • Posts

    118
  • Joined

  • Last visited

Posts posted by Willy

  1. according to your picture the port is set to 22004 not 22005.

    if the server is running on the same computer as you are trying to connect from, try to connect using "localhost:22005"

    also, using "http://" before an mta server won't work, you need "mtasa://"

  2. if you look at the code, i'm generating a random number based on how many entries you have in the table, all you would need to do is add the extra spawns to the spawns table, like this:

      
    spawns[4] = {-934,133,418}--{ x4,y4,z4 } 
      
    

    the last bit of the script will stay the same, for example if we generated a random number, and the randomNumber variable was 2, the last bit is the same as:

      
    x = spawns[2][1] 
    y = spawns[2][2] 
    z = spawns[2][3] 
      
    

    instead of the variable "randomNumber" we are using the number value 2, because randomNumber = 2.

    which would mean that the x, y and z values would be:

      
    --spawns[2] = {342,-2341,3} 
    --spawns[2][1] = 342 = x 
    --spawns[2][2] = -2341 = y 
    --spawns[2][3] = 3 = z 
      
    

  3.   
    spawns = {} --table that will hold all the spawn points 
      
    spawns[1] = {123,423,1}--{ x1,y1,z1 } 
    spawns[2] = {342,-2341,3}--{ x2,y2,z2 } 
    spawns[3] = {-5,3,8}--{ x3,y3,z3 } 
      
    --use math.random to generate a number between 1 and #spawns (the length of the table spawns) 
    randomNumber = math.random(1,#spawns) 
      
    --assign the numbers within the table to x y and z 
    x = spawns[randomNumber][1] 
    y = spawns[randomNumber][2] 
    z = spawns[randomNumber][3] 
      
    spawnPlayer(player,x,y,z) 
      
      
    

    there is an easier way to declare the initial table, but i did it that way so you would understand it. If you don't get it then post back.

  4. guys, while posting dumps is good in itself, they can be pretty pointless if you don't try to explain what you were doing at the time, and if there are any steps to reproducing the crash - i.e. going back and trying to make yourself crash again, do it successfully a few times and it can mean the difference between a crash being fixed or not.

  5. before you turn around and say that roleplay sucks, and insult the people who play it i'd do a couple of things.

    1. I'd learn English

    2. I'd be more specific - just saying that all role play sucks is a bit lame imo.

    Also, might I add that maybe you have been playing on the wrong RP servers if you don't like it?

    In my most humble of opinions GTA:SA is not and never will be a deathmatch game, there are plenty of other games out there that do the same thing but better.

  6. erm guys, the initial problem has been solved, and speculation about things that may or may not be in a future release isn't what this thread is for... either ask a dev, or wait for someone (who ACTUALLY knows) to tell you.

×
×
  • Create New...