AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Little confused here (https://forums.alliedmods.net/showthread.php?t=29613)

NewUser 06-08-2006 19:16

Little confused here
 
For the "bools" would it be [i], or player[i]?

Code:
public function() {     new player[33], num     get_players(player,num,"ac")     for(new i = 0; i < num;i++)     {         if(bool[i]) // need help here         {             // stuff         }         if(!bool[i]) return PLUGIN_HANDLED; // also here.     }     return PLUGIN_HANDLED; }

Not exactly sure.

PM 06-08-2006 19:30

Hmm, what.... exactly are you trying to do?

Freecode 06-08-2006 19:31

bool[player[i]]

NewUser 06-08-2006 20:16

Quote:

Originally Posted by Freecode
bool[player[i]]

Thanks, Freecode.


All times are GMT -4. The time now is 16:19.

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