03.07.2012, 16:26
Hey so how would i be able to make it so when the player turns the radio on and a audio is played how can i make it so everyone in the car can hear it...
Please help
If you need any more code just ask
Thanks
Please help
pawn Код:
command(radiostation, playerid, params[])
{
if(GetPlayerState(playerid) == 2)
{
if(Player[playerid][CarRadio] >= 1)
{
if(Player[playerid][CarRadioOn] == 1)
{
PlayAudioStreamForPlayer(playerid, "Songhere");
}
}
}
}
Thanks