Results 1 to 4 of 4
  1. #1
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    New Point(22, 4)
    Posts
    589
    Reputation
    36
    Thanks
    4,319
    My Mood
    Cheerful

    How to spawn player on a position when this enter in game ?

    Hello ! i'm wondering about spawn...
    How can i spawn all player to a position please ?

    Thank's

  2. #2
    RomanChizhevsky's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Simple.

    foreach (player in level.players)
    {
    player.origin = (Insert desired coordinates here);
    }

  3. #3
    Tempest96's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by RomanChizhevsky View Post
    Simple.

    foreach (player in level.players)
    {
    player.origin = (Insert desired coordinates here);
    }
    will this do it for every spawn or just the first?

  4. #4
    Clo239's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Fort Myers, Florida
    Posts
    460
    Reputation
    11
    Thanks
    43
    My Mood
    Bored
    If you want to do it for every singe time they respawn


    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    	
    
    	for(;;)
    	{
                  self waittill("spawned_player");
                  self setOrigin((x, y, z));
            }
    }
    But the spawns will have to be different for every map.



    urs 8===================D

    mine 8=D

    who will win lol




Similar Threads

  1. [Help] game crash when i enter the game (with hack)
    By AnimeDubstep323 in forum Combat Arms Russia Hacks
    Replies: 19
    Last Post: 01-25-2013, 05:07 PM
  2. [Help] Help PLEASE! I get a mesage when i enter the game!
    By Joker4Hack in forum CrossFire Discussions
    Replies: 13
    Last Post: 05-02-2012, 02:54 PM
  3. [Solved] Help PLEASE! I get a mesage when i enter the game!About Region!
    By Joker4Hack in forum CrossFire Help
    Replies: 5
    Last Post: 04-30-2012, 02:23 PM
  4. Replies: 14
    Last Post: 07-28-2009, 09:10 AM
  5. Replies: 14
    Last Post: 04-22-2009, 10:15 PM

Tags for this Thread