[Help]How to Random Spawn?
#7

pawn Код:
public OnPlayerSpawn(playerid)
{
  if(Is player in dm or simething)
  {
    new rand = random(3);
    switch(rand)
    {
      case 0:
      {
        SetPlayerPos();
        SetPlayerFacingAngle();
      }

      case 1:
      {
        SetPlayerPos();
        SetPlayerFacingAngle();
      }

      case 2:
      {
        SetPlayerPos();
        SetPlayerFacingAngle();
      }
    }
  }
  return 1;
}
Reply


Messages In This Thread
[Help]How to Random Spawn? - by Tigerbeast11 - 17.10.2009, 13:02
Re: [Help]How to Random Spawn? - by dice7 - 17.10.2009, 13:03
Re: [Help]How to Random Spawn? - by Tigerbeast11 - 17.10.2009, 13:04
Re: [Help]How to Random Spawn? - by Jakku - 17.10.2009, 13:05
Re: [Help]How to Random Spawn? - by Tigerbeast11 - 17.10.2009, 13:06
Re: [Help]How to Random Spawn? - by Tigerbeast11 - 17.10.2009, 13:15
Re: [Help]How to Random Spawn? - by dice7 - 17.10.2009, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)