[Ajuda] RemovePlayerFromVehicle
#5

do modo que ele mostrou nгo ira funcionar..
PHP код:
new Caminhao[1];
Caminhao[0] = CreateVehicle(515 ,2154.7002000,-2290.8994000,15.1001600,223.9950000,79,83,0);
public 
OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    if(!
ispassenger){
        
        for( new 
csizeof(Caminhao); c++ ){
            
            if(
GetPlayerVehicleID(vehicleid) == Caminhao[c] ){
                
                if( 
/* var profissao */ == caminhoneiro ){
                    
                    print(
"Vocк й caminhoneiro");
                    break;
                }else{
                    
                    
RemovePlayerFromVehicle(playerid);
                    print(
"Vocк nгo й um caminhoneiro");
                    break;
                }
            }        
        }
    }
    return 
1;

Reply


Messages In This Thread
RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 07:27
Re: RemovePlayerFromVehicle - by XandyMello - 29.06.2016, 08:38
Re: RemovePlayerFromVehicle - by F1N4L - 29.06.2016, 12:39
Re: RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 20:19
Re: RemovePlayerFromVehicle - by Whoo - 29.06.2016, 20:32
Re: RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 20:56
Re: RemovePlayerFromVehicle - by focaximubh - 29.06.2016, 23:26
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 06:13
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 18:53
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)