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_thunder, random_num(0, ArraySize(sound_thunder) - 1), sound, charsmax(sound))
PlaySound(sound)
}