Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. function Entrega( player )
  2. {
  3. player = FindPlayer( player );
  4. if ( player )
  5. {
  6. if ( player.Vehicle && player.Vehicle.Model == 228 )
  7. player.RestoreCamera();
  8. if ( Carregado[ player.ID ] == true ) return E_MSG( "Seu Caminhao ja esta carregado.", player );
  9. Carregado[ player.ID ] = true;
  10. //player.Frozen = false;
  11. I_MSG("Seu Caminhao Agora Esta Carregado Com Drogas!!",player);
  12. }
  13. }
  14.  
  15. function Entrega2( player )
  16. {
  17. player = FindPlayer( player );
  18. if ( player )
  19. {
  20. if ( player.Vehicle && player.Vehicle.Model == 228 )
  21. if ( Carregado[ player.ID ] == false ) return E_MSG( "Seu Caminhao nao esta carregado.", player );
  22. //player.Frozen = false;
  23. I_MSG("Voce Entregou Drogas e Ganhou 13k!!",player);
  24. IncCash( player, 13000 );
  25. MSG("[Trabalho] Distribuidor De Drogas " + player.Name + " Concluio Uma Entrega De Drogas!!");
  26.  
  27. }
  28. //Carregado[ player.ID ] = false;
  29. }
  30.  
  31. if ( sphere.ID == 19 )//if ( player.Vehicle && player.Vehicle.Model == 155 )//carregar
  32. {
  33. //if ( Carregado[ player.ID ] == true ) return E_MSG( "Voce Ja Carregou Este Caminhao.", player );
  34.  
  35. if ( player.Vehicle && player.Vehicle.Model == 228 )
  36. player.SetCameraPos( Vector( 70.714, 1044.87, 30.5054 ), Vector( 73.6166, 1068.65, 26.4887 ) );
  37. Announce("Leve As Drogas Ate A Casa Amarela Que Fica Em Prawn Island!!", player, 1);
  38. //player.Frozen = true;
  39. NewTimer( "Entrega", 5000, 1 , player.ID );
  40. {
  41. }//fim
  42. }
  43. if ( sphere.ID == 20 )//if ( player.Vehicle && player.Vehicle.Model == 155 )//descarregar
  44. {
  45. if ( player.Vehicle && player.Vehicle.Model == 228 )
  46. {
  47. if ( Carregado[ player.ID ] == false ) return E_MSG( "Seu Caminhao nao esta carregado.", player );
  48. Announce("Descarregango Caminhao...", player, 0);
  49. //player.Frozen = true;
  50. NewTimer( "Entrega2", 5000, 1 , player.ID );
  51. }//fim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement