[Ajuda] GetVehicleTrailer
#3

Bom, quero que verifique se o trailer estб na carreta

pawn Код:
new veiculosetado = GetarVeiculo(GetVehiclePlayerID(playerid));
new Trailer = GetVehicleTrailer(veiculosetado);



public GetarVeiculo(idveiculo)
{
    new valor = 0;
    for(new i = 0; i < MAX_VEHICLES; i ++)
    {
        if(Veiculos[i][vVeh] == idveiculo)
        {
            valor++;
            return i;
        }
    }
    return valor;
}
mas estб retornando com valor 0 oque tem de errado ?
Reply


Messages In This Thread
GetVehicleTrailer - by Mitic0 - 31.07.2018, 01:41
Re: GetVehicleTrailer - by willttoonn - 31.07.2018, 01:53
Re: GetVehicleTrailer - by Mitic0 - 31.07.2018, 02:00
Re: GetVehicleTrailer - by SIZET - 31.07.2018, 02:08
Re: GetVehicleTrailer - by Cauezin - 31.07.2018, 02:09
Re: GetVehicleTrailer - by Mitic0 - 31.07.2018, 02:21
Re: GetVehicleTrailer - by Mitic0 - 31.07.2018, 02:23
Re: GetVehicleTrailer - by willttoonn - 31.07.2018, 02:27
Re: GetVehicleTrailer - by Mitic0 - 31.07.2018, 02:32
Re: GetVehicleTrailer - by willttoonn - 31.07.2018, 02:35

Forum Jump:


Users browsing this thread: 2 Guest(s)