Who is driving the car I shoot
#2

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        /* Yes, shooting in car ..
        You can use GetPlayerVehicleID to be more ..
            accurate in ID, or your model with GetVehicleModel (GetPlayerVehicleID (playerid)) .. */

    }
    return 1;
}
I do not know if it's really what you meant, I do not speak English in its entirety.
Reply


Messages In This Thread
Who is driving the car I shoot - by Flokx - 23.01.2015, 23:42
Respuesta: Who is driving the car I shoot - by Zume - 23.01.2015, 23:53
Re: Who is driving the car I shoot - by Abagail - 24.01.2015, 00:06
Re: Who is driving the car I shoot - by Flokx - 24.01.2015, 01:21

Forum Jump:


Users browsing this thread: 1 Guest(s)