[Ajuda] Ajuda! Garagem
#3

Quote:
Originally Posted by zPain
View Post
ID e modelo nгo sгo a mesma coisa. GetPlayerVehicleID retorna o ID do veнculo. Para obter o modelo, deve-se utilizar GetVehicleModel. Ademais, vocк deve utilizar SetTimerEx, nгo SetTimer.
Ainda estб indo qualquer veнculo

PHP Code:
forward EstaNaGarragem(playerid);
public 
EstaNaGarragem(playerid)
{
    if (
IsPlayerInRangeOfPoint(playerid10.0, -1943.9894,254.2238,35.1807))
    {
        if(
GetVehicleModel(playerid) == VeiculoBBO[0] || VeiculoBBO[1] || VeiculoBBO[2] || VeiculoBBO[3] || VeiculoBBO[4] || VeiculoBBO[5])
        {
            
DestroyVehicle(VeiculoBBO[0]);
            
DestroyVehicle(VeiculoBBO[1]);
            
DestroyVehicle(VeiculoBBO[2]);
            
DestroyVehicle(VeiculoBBO[3]);
            
DestroyVehicle(VeiculoBBO[4]);
            
DestroyVehicle(VeiculoBBO[5]);
            
SendClientMessage(playerid,0xFF0000FF,"Vendido!");
            } else return 
SendClientMessage(playerid,0xFF0000FF,"Modelo invбlido!");
        return 
1;
    }
    return 
1;

Reply


Messages In This Thread
Ajuda! Garagem - by RafaelMau - 19.10.2015, 15:41
Re: Ajuda! Garagem - by zPain - 19.10.2015, 16:10
Re: Ajuda! Garagem - by RafaelMau - 19.10.2015, 16:24
Re: Ajuda! Garagem - by Artista - 19.10.2015, 16:46
Re: Ajuda! Garagem - by Galhardo - 19.10.2015, 16:56
Re: Ajuda! Garagem - by RafaelMau - 19.10.2015, 17:06
Re: Ajuda! Garagem - by Artista - 19.10.2015, 17:36
Re: Ajuda! Garagem - by RafaelMau - 19.10.2015, 17:40
Re: Ajuda! Garagem - by Artista - 19.10.2015, 18:00
Re: Ajuda! Garagem - by RafaelMau - 20.10.2015, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)