Advertisement
Guest User

Untitled

a guest
May 24th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. /*
  2.  
  3. AUTHOR:
  4.  
  5. ▒█▀▀▀ ▀▀█▀▀ ▒█░▒█ ░█▀▀█ ▒█▄░▒█
  6. ▒█▀▀▀ ░▒█░░ ▒█▀▀█ ▒█▄▄█ ▒█▒█▒█
  7. ▒█▄▄▄ ░▒█░░ ▒█░▒█ ▒█░▒█ ▒█░░▀█
  8.  
  9. */
  10.  
  11. _param = _this select 0;
  12.  
  13. _robo = 0 ;
  14.  
  15. _tiempo = 1 ;
  16.  
  17. If (_param isEqualTo "Init") exitwith {
  18.  
  19. // Que los demas roles no lo puedan robar
  20.  
  21. if (side player != CIVILIAN) exitWith {hint "TU QUE ERES EL MÁS LISTO DEL MUNDO???"};
  22.  
  23. if ((primaryWeapon player == "") AND (handgunWeapon player == "")) exitWith {hint "Comprate una arma y luego vuelve!!!"};
  24.  
  25. //if ({side _x == WEST} count playableUnits < 5) exitWith {hint "Almenos 5 policias conectados"};
  26.  
  27. _metros = distance player;
  28.  
  29. If ( _metros > 10 ) exitwith { hint "Te creias más chulo que nadie??" } ;
  30.  
  31. // Cronometro
  32.  
  33. while {_tiempoRobo > 0} do {
  34.  
  35. if (_segundos != 0) then {
  36.  
  37. _segundos = _segundos - 1;
  38.  
  39. };
  40.  
  41. if (_segundos == 0 and _minutos > 0) then {
  42. _segundos = 59;
  43. _minutos = _minutos - 1;
  44. };
  45.  
  46. hintSilent format["Vamos!! \n Tiempo Restante: %1 : %2",_minutos,_segundos];
  47. sleep 1;
  48.  
  49. if (_minutos == 0 and _segundos == 0) exitWith {
  50.  
  51. _tiempoRobo = 0;
  52. _robo = 1;
  53.  
  54. // Información Tiempo
  55.  
  56. hint "Corre Corre el Primo Ethan te desea suerte!! ";
  57.  
  58. _CocheHuida = _coche round random ;
  59.  
  60. _coche = "Poner coche" createVehicle position player;
  61.  
  62. //life_cash = life_cash + 3000
  63.  
  64. };
  65. };
  66.  
  67. while {_tiempoCoche > 0} do {
  68.  
  69. if (_segundos != 0) then {
  70.  
  71. _segundos = _segundos - 1;
  72.  
  73. };
  74.  
  75. if (_segundos == 0 and _minutos > 0) then {
  76. _segundos = 59;
  77. _minutos = _minutos - 1;
  78.  
  79. hint " mmmm..." ;
  80.  
  81. _tiempoCoche = _tiempoCoche deletevehicle
  82.  
  83. };
  84. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement