Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Entrega( player )
- {
- player = FindPlayer( player );
- if ( player )
- {
- if ( player.Vehicle && player.Vehicle.Model == 228 )
- player.RestoreCamera();
- if ( Carregado[ player.ID ] == true ) return E_MSG( "Seu Caminhao ja esta carregado.", player );
- Carregado[ player.ID ] = true;
- //player.Frozen = false;
- I_MSG("Seu Caminhao Agora Esta Carregado Com Drogas!!",player);
- }
- }
- function Entrega2( player )
- {
- player = FindPlayer( player );
- if ( player )
- {
- if ( player.Vehicle && player.Vehicle.Model == 228 )
- if ( Carregado[ player.ID ] == false ) return E_MSG( "Seu Caminhao nao esta carregado.", player );
- //player.Frozen = false;
- I_MSG("Voce Entregou Drogas e Ganhou 13k!!",player);
- IncCash( player, 13000 );
- MSG("[Trabalho] Distribuidor De Drogas " + player.Name + " Concluio Uma Entrega De Drogas!!");
- }
- //Carregado[ player.ID ] = false;
- }
- if ( sphere.ID == 19 )//if ( player.Vehicle && player.Vehicle.Model == 155 )//carregar
- {
- //if ( Carregado[ player.ID ] == true ) return E_MSG( "Voce Ja Carregou Este Caminhao.", player );
- if ( player.Vehicle && player.Vehicle.Model == 228 )
- player.SetCameraPos( Vector( 70.714, 1044.87, 30.5054 ), Vector( 73.6166, 1068.65, 26.4887 ) );
- Announce("Leve As Drogas Ate A Casa Amarela Que Fica Em Prawn Island!!", player, 1);
- //player.Frozen = true;
- NewTimer( "Entrega", 5000, 1 , player.ID );
- {
- }//fim
- }
- if ( sphere.ID == 20 )//if ( player.Vehicle && player.Vehicle.Model == 155 )//descarregar
- {
- if ( player.Vehicle && player.Vehicle.Model == 228 )
- {
- if ( Carregado[ player.ID ] == false ) return E_MSG( "Seu Caminhao nao esta carregado.", player );
- Announce("Descarregango Caminhao...", player, 0);
- //player.Frozen = true;
- NewTimer( "Entrega2", 5000, 1 , player.ID );
- }//fim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement