SetVehicleParamsForPlayer maybe little bugs, big thanks for your replies!
#2

Try:

pawn Код:
public OnPlayerEnterVehicle (playerid, vehicleid, ispassenger)
{
    new id = GetVehicleModel(vehicleid);
    if(id == 598)//police cruiser model id.
    {
        if(!ispassenger)
        {
            ClearAnimations(playerid,1);
        }
    }
    return true;
}
I do it that way since i stop players from entering PD cars in none cop class.

Edit; dont forget to add the check to see if they're cop.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)