06.08.2013, 14:09
pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
if(!ispassenger)
{
if(IsVehicleCopCar(vehicleid) && RpPlayerInfo[playerid][pFaction] == 0)
{
ClearAnimations(playerid);
SendClientMessage(playerid,-1,"Vehicle locked.");
}
}
return 1;
}