Posts: 284
Threads: 77
Joined: Nov 2013
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
Posts: 578
Threads: 56
Joined: Sep 2013
Reputation:
0
You cannot hide the link, but you can how ever make a clear chat function that will clear the players chat when they connect.
Posts: 139
Threads: 6
Joined: Dec 2012
Reputation:
0
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.)