Results 1 to 3 of 3
  1. #1
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh

    [Solved]Adding different spawns?

    I need to figure it out for my next mod. I used search a lot, found nothing helpful.

  2. #2
    XFL's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    5
    My Mood
    Bored
    Quote Originally Posted by ~Just IN~ View Post
    I need to figure it out for my next mod. I used search a lot, found nothing helpful.
    put this in onplayerspawned()
    Code:
    		if(self.team == "allies")
    		{
    			self.randomspawn = randomInt(3); //number or spawns
                            if(self.randomspawn == 0) 
    			{ 
                            	self SetOrigin((XX,XX,XX));  
    			} 
                            if(self.randomspawn == 1) 
    			{ 
                            	self SetOrigin((XX,XX,XX)); 
    			} 
                            if(self.randomspawn == 2) 
    			{ 
                            	self SetOrigin((XX,XX,XX)); 
    			}
    for the allies or
    Code:
    		if(self.team == "axis")
    		{
    			self.randomspawn = randomInt(3);//number or spawns 
                            if(self.randomspawn == 0) 
    			{ 
                            	self SetOrigin((XX,XX,XX)); 
    			} 
                            if(self.randomspawn == 1) 
    			{ 
                            	self SetOrigin((XX,XX,XX)); 
    			} 
                            if(self.randomspawn == 2) 
    			{ 
                            	self SetOrigin((XX,XX,XX)); 
    			}
    for axis

  3. The Following User Says Thank You to XFL For This Useful Post:

    ~Just IN~ (11-02-2010)

  4. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /marked as solved



Similar Threads

  1. [SOLVED] Files different from server
    By JosHSL14 in forum Call of Duty Modern Warfare 2 Help
    Replies: 21
    Last Post: 10-21-2010, 11:58 PM
  2. [Solved]Adding custom sounds
    By Flapman in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 3
    Last Post: 09-25-2010, 05:20 PM
  3. [SOLVED] make new spawns ?
    By techeveryday in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 7
    Last Post: 09-20-2010, 06:07 AM
  4. [SOLVED]adding menus to existing mods
    By Erige in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 09-11-2010, 06:10 PM
  5. [Solved]Adding Timer?
    By Golden. in forum Visual Basic Programming
    Replies: 14
    Last Post: 06-12-2010, 09:25 PM