Radio Stream Question
#1

Hello , iv added an fm radio that will start OnPlayerConnect, but how can i hide the link so players cant see the link even if the radio stared
Код:
PlayAudioStreamForPlayer(playerid, "TEST...");
//how to hide that from the server just make them work with out to see the link
Reply
#2

You cannot hide the link, but you can how ever make a clear chat function that will clear the players chat when they connect.
Reply
#3

In my gamemode i used audio streams for everything. Opening prison cell doors, sending PD and EMS dispatch calls and just stirring up some life into the air, etc.

What i did though, was I added a client message on player connect that told them to use the command '/audiomsg' for better experience so the stream messages won't appear.

Shortly - get them to use '/audiomsg' since thats the only way to disable the stream strings client side.

(Another option is to get them to modify their sa-mp.cfg by adding the line 'audiomsgoff 1' but i doubt they'd do that.)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)