Raised This Month: $ Target: $400
 0% 

[SOLVED]What Does This Mean?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 09-13-2013 , 06:14   [SOLVED]What Does This Mean?
Reply With Quote #1

What does "return i" mean? I try to print it in chat but stuck in 1.

PHP Code:
get_idweapon_from_ent(ent)
{
    new 
1check_value 1
    
while (check_value && MAX_WPN)
    {
        if (
c_wpnchange[i] <= 0check_value 0
        
else
        {
            new 
w_submodel[64]
            
pev(entpev_bodyw_submodelcharsmax(w_submodel))
            
//pev(ent, pev_model, model, charsmax(model))
            
            
client_print(0print_chat"%s pev body"w_submodel)
            
client_print(0print_chat"%i string"i)
            
            return 
i;
        }
        
i++
    }
    
    return 
0;

Code is take from CSO NST 1011 .sma

Last edited by Randomize; 09-14-2013 at 04:10.
Randomize 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 19:00.


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