Author Topic: making something to all players  (Read 1167 times)

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
making something to all players
« on: August 12, 2012, 12:14:02 pm »
I MEAN LIKE IF I NEED ALL PLAYERS GO TO ONE PLACE OR KILL ALL PLAYERS OR HEAL ALL PLAYERS ETC.........

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: making something to all players
« Reply #1 on: August 12, 2012, 12:18:46 pm »
Code: [Select]
local i = 0;
while(i < GetMaxPlayers())
{
   if(FindPlayer(i))
   {
       local plr = FindPlayer(i);
       //whatever you want ex: plr.Health = 0; plr.SetWeapon(4,100); etc.. plr.Pos = Vector( 126.2, 263.3, 256);
   }
    i++;
}
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: making something to all players
« Reply #2 on: August 12, 2012, 05:11:50 pm »
OW THANKS VERY MUCH FOR UR FANTASTIC HELP  ;D :)

 

© Liberty Unleashed Team.