04.07.2016, 16:57
(
Последний раз редактировалось Youssefree; 04.07.2016 в 17:00.
Причина: Copyright reasons
)
I want all the players in range of a player will hear what he said.
Quote:
// This is a comment // uncomment the line below if you want to write a filterscript //define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" fs"); print("--------------------------------------\n"); return 1; } public OnPlayerText(playerid, text[]) { if IsPlayerInRangeOfPoint(playerid, 7.0, 1,1,1) *then new pText[144]; format(pText, sizeof (pText), "(%d) %s", playerid, text); PlayAudioStreamForPlayer(playerid,"http://soundoftext.com/static/sounds/en/%s.mp3",1,1,1,7.0,1); } } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" fs"); print("----------------------------------\n"); } #endif |