Raised This Month: $ Target: $400
 0% 

ThunderClap


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rrduna
Member
Join Date: Nov 2010
Location: Brazil
Old 11-26-2010 , 21:17   ThunderClap
Reply With Quote #1

Want to know how a public event to random sounds of thunder,
event like the thunderclap of the Zombie Plague Mod
If unable to understand perfectly, I want a plugin that performs random sounds of thunder during the game.

I tried writing it did not get more, it is very difficult.
Look, what I did was more or less this:



PHP Code:
public thunderclap(){
    
ArrayGetString(sound_thunderrandom_num(0ArraySize(sound_thunder) - 1), soundcharsmax(sound))
    
PlaySound(sound)


Last edited by rrduna; 11-26-2010 at 21:36.
rrduna is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode