21.01.2012, 03:02
Under OnPlayerState add
Under onplayerexitvehicle
pawn Код:
new modelid = GetVehicleModel(GetPlayerVehicleID(playerid));
if(modelid == /*SFPD Vehicle ID*/)
{
PlayAudioStreamForPlayer(playerid,"link");
}
pawn Код:
new modelid = GetVehicleModel(GetPlayerVehicleID(playerid));
if(modelid == /*SFPD Vehicle ID*/)
{
StopAudioStreamForPlayer(playerid);
}