Raised This Month: $ Target: $400
 0% 

help with switch,case


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 03-07-2010 , 18:23   Re: help with switch,case
Reply With Quote #4

ok, i fixed it.
Can i ask another question to?
How can i use something that return a random number, and do something when the number equals a other number.
I tryed this but i don't think it works
PHP Code:
if(playerlevel[id] == 1)
        {
            if(
random_num(1,20) == 5)
            
give_item(id"weapon_hegrenade")
        }
        
        else
        {
            
client_print(idprint_chat"%s Sorry, no luck today"PREFIX)
        } 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.

Last edited by drekes; 03-07-2010 at 18:26.
drekes is offline
Send a message via MSN to drekes
 



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 08:37.


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