toribio

toribio

Nov 15th, 2009
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.60 KB | None | 0 0
  1. public LogarPlayer(playerid)
  2. {
  3.     SpawnPlayer(playerid);
  4.     if(udb_getPrisao(PlayerName(playerid)) || Procurados[playerid])
  5.     {
  6.         Presos[playerid] = 1;
  7.         Procurados[playerid] = 0;
  8.         SetPlayerFacingAngle(playerid, 0);
  9.         SetPlayerInterior(playerid, 10);
  10.         switch(random(4))
  11.         {
  12.             case 0: SetPlayerPos(playerid, 227.6684, 110.1895, 999.0156);
  13.             case 1: SetPlayerPos(playerid, 223.0134, 110.3193, 999.0156);
  14.             case 2: SetPlayerPos(playerid, 219.3730, 110.2772, 999.0156);
  15.             case 3: SetPlayerPos(playerid, 214.9654, 109.4626, 999.0156);
  16.         }
  17.         SendClientMessage(playerid, COLOR_RED, "Vocκ estα preso!");
  18.     }
  19. }
Add Comment
Please, Sign In to add comment