how to remove it and set it to one time repeat.
Код:
public OnPlayerRequestClass(playerid, classid)
{
if(PlayerInfo[playerid][pBan] == 1)
{
Ban(playerid);
}
PlayAudioStreamForPlayer(playerid, "http://s6.picofile.com/d/62df3a9d-2ce6-4bd1-8d56-48f823f9bc1f/hz_af_caves_controlroom_LR_1.mp3");
SetPlayerPos(playerid, 220.3261,1822.9734,7.5368);
SetPlayerCameraPos(playerid, 226.7491,1823.0441,7.4141);
SetPlayerCameraLookAt(playerid, 220.3261,1822.9734,7.5368);
SetPlayerFacingAngle(playerid, 270 );
SetPlayerTeamFromClass(playerid, classid);
if(classid == 0)
{
GameTextForPlayer(playerid,"~r~Internationalforces",3000,3);
}
else if(classid == 1)
{
GameTextForPlayer(playerid,"~r~Daesh",3000,3);
}
return 1;
}
Not possible. Can be toggled off client side with /audiomsg but you can't force it to be off from the server side.