07.01.2011, 11:07
Here you go
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsVehicleSportCar(vehicleid))
{
SendClientMessage(playerid,0x007F0EFF,"You entered a sport car.");
}
return 1;
}
IsVehicleSportCar(vehicleid)
{
switch(GetVehicleModel(vehicleid))
{
case 441,541,541: { return 1; }
}
return 0;
}