Raised This Month: $ Target: $400
 0% 

Random part of string... ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gadzislaw007
Senior Member
Join Date: Nov 2009
Old 08-14-2012 , 15:09   Re: Random part of string... ?
Reply With Quote #8

I did. Don't worry. In other cases than this random string they work.
If I put just
PHP Code:
public hitsound(id)
{
    if (
random_num(1,5) == 5)
    {
        
emit_sound(idCHAN_BODY"gad/hitsounds/hit1.wav"VOL_NORMATTN_NORM0PITCH_NORM)

    }
    

instead, it works

Last edited by Gadzislaw007; 08-14-2012 at 15:10.
Gadzislaw007 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 05:43.


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