Jump to content

Anonymous'ZF

Members
  • Posts

    6
  • Joined

  • Last visited

Details

  • Gang
    Zero Fear !
  • Location
    Algeria
  • Occupation
    Annaba
  • Interests
    Hacking

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Anonymous'ZF's Achievements

Vic

Vic (3/54)

1

Reputation

  1. thnx man i'll see if it works it works man thank you so much <3
  2. How can i got this (i'll pay) , thank you
  3. Hi there , I wonder if I can put online radio in my server in the background ( mean hidden ) starts automaticly and without stopping when change maps ? radio url (http://streaming.shoutcast.com/RadioHunter-TheHitzChannel) . Please help me guys thank you
  4. Hi guys , I want clarification about this script , and why doesn't work P.S : should i add rights in ACpanel or something ? Client side : addEvent("speak", true); addEventHandler("speak", root, function(text, lang) if(type(text) == "string" and type(lang) == "string") then return playSound("http://translate.google.com/translate_tts?tl="..lang.."&q="..text, false) ~= false; end return false; end) --// --|| Syntax: bool speak(string text, string lang) --|| --|| Required Arguments: --|| - text: Limited to 100 chars. --|| - lang: Language code E.g. "en", "de", ... (Note: not every language is supported.) --|| --|| Returns: --|| - Returns a sound element if the sound gets played, false if invalid arguments were specified. --\\ function speak(text, lang) if(text and type(text) == "string" and type(lang) == "string") then local cancelled = triggerEvent("onClientSpeech", root, text, lang); if(not cancelled) then return playSound("http://translate.google.com/translate_tts?tl="..lang.."&q="..text, false); end end return false; end --// --|| Syntax: bool speak3D(string text, string lang, float x, float y, float z) --|| --|| Required Arguments: --|| - text: Limited to 100 chars. --|| - lang: Language code E.g. "en", "de", ... (Note: not every language is supported.) --|| - x: --|| - y: --|| - z: --|| --|| Returns: --|| - Returns a 3D sound element if the sound gets played, false if invalid arguments were specified. --\\ function speak3D(text, lang, x, y, z) if((text and type(text) == "string") and (lang and type(lang) == "string") and (x and type(x) == "number") and (y and type(y) == "number") and (z and type(z) == "number")) then local cancelled = triggerEvent("onClientSpeech", root, text, lang); if(not cancelled) then return playSound3D("http://translate.google.com/translate_tts?tl="..lang.."&q="..text, x, y, z, false); end end return false; end Server Side : function speak(text, lang, triggerFor) if(text and type(text) == "string" and type(lang) == "string") then if(triggerFor == nil) then triggerFor = root end if(isElement(triggerFor) and getElementType(triggerFor) == "player" or getElementType(triggerFor) == "root") then local cancelled = triggerEvent("onSpeech", triggerFor, text, lang); if(not cancelled) then return triggerClientEvent(triggerFor, "speak", resourceRoot, text, lang); end end end return false; end Thank you guys
  5. hi guys , i bought new serer but i need some simple ressources like tts script ( texttospeech) , f u have one plz gimme cuz i really need it thank you P.S: if u can write instructions
×
×
  • Create New...