Advertisement
Guest User

Untitled

a guest
Oct 17th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.58 KB | None | 0 0
  1. public OnPlayerSpawn(playerid)
  2. {
  3.     if(gTeam[playerid] == TEAM_CIVILIAN)
  4.     {
  5.         switch(random(4))
  6.         {
  7.             case 0:
  8.             {
  9.                 SetPlayerPos(playerid,2079.7163 ,1340.2308, 10.8203);
  10.             }
  11.             case 1:
  12.             {
  13.                 SetPlayerPos(playerid, 2081.4160, 1292.6072, 10.8203);
  14.             }
  15.             case 2:
  16.             {
  17.                 SetPlayerPos(playerid, 2035.4103, 1293.5703, 10.8203);
  18.             }
  19.             case 3:
  20.             {
  21.                 SetPlayerPos(playerid, 2020.4103, 1292.5703, 10.8203);
  22.             }
  23.         }
  24.     }
  25.     else if(gTeam[playerid] == TEAM_POLICE)
  26.     {
  27.         SetPlayerPos(playerid,2084.2632,1236.8361,10.8203);
  28.     }
  29. //  StopAudioStreamForPlayer(playerid);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement