Raised This Month: $ Target: $400
 0% 

Give to all/Give to one


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 10-29-2009 , 17:53   Re: Give to all/Give to one
Reply With Quote #2

Dont understand it good, but

@

PHP Code:
for(new i=0iCounti++) 
{
        
index szPlayers[i]
}

// ur code 
is wrong, You are saving the last id that has been saved.
What this piece of code means is that your running true all players id's but it will only go trough that piece of code, once you closed it you will just use the last saved id.
Hope im a little clear

so it will be

PHP Code:
for(new i=0iCounti++) 
{
    
index szPlayers[i]
    switch(
iRandomNum) {
          case 
0: {
                 
set_user_gravity(indexfloat(gravity))
                 
client_print(0print_chat"Everybody Can Fly!")
         }
    }
        
// and on

__________________
I am out of order!
grimvh2 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 17:37.


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