Raised This Month: $ Target: $400
 0% 

ADMFLAG_ROOT for a plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anonpiss
Senior Member
Join Date: Jan 2010
Old 06-03-2010 , 22:48   Re: ADMFLAG_ROOT for a plugin
Reply With Quote #1

Now I am getting error 017: undefined symbol "i"

Code:
public OnGameFrame() {
    if (GetUserFlagBits(i) & ADMFLAG_ROOT) {
        for (new i = 1; i <= MaxClients; i++) {        // cycle through players
            if (
                IsClientInGame(i) &&                // is in the game
                IsPlayerAlive(i)                    // is alive
            ) {
                DoubleJump(i)                        // Check for double jumping
            }
        }
    }
}
anonpiss is offline
Reply



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 03:13.


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