(Ayuda)Detectar si el modelo del vehiculo esta cerca
#2

Aver si te sirve esto:
pawn Код:
for(new i = 1; i < MAX_VEHICLES; i ++)
{
    new Float:x, Float:y, Float:z;
    GetVehiclePos(i, x, y, z);

    if(IsPlayerInRangeOfPoint(playerid, 10.0, x, y, z))
    {
        if(GetVehicleModel(i) == 443)
        {
            // codigo...
        }
    }
}
Reply


Messages In This Thread
(Ayuda)Detectar si el modelo del vehiculo esta cerca - by iimma - 19.03.2015, 16:46
Re: (Ayuda)Detectar si el modelo del vehiculo esta cerca - by SickAttack - 19.03.2015, 17:12
Respuesta: (Ayuda)Detectar si el modelo del vehiculo esta cerca - by Zume - 19.03.2015, 17:14
Respuesta: (Ayuda)Detectar si el modelo del vehiculo esta cerca - by jotajeda - 19.03.2015, 17:20
Re: Respuesta: (Ayuda)Detectar si el modelo del vehiculo esta cerca - by SickAttack - 19.03.2015, 17:23

Forum Jump:


Users browsing this thread: 2 Guest(s)