Halfing on online players into a float
#7

@ the top
pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 50 // Change 50 to your max player slots
then
pawn Код:
new Float:val;
for(new i=0; i<MAX_PLAYERS; i++)
{
    if (IsPlayerConnected(i))
    {
        val += 0.5;
    }
}
Reply


Messages In This Thread
Halfing on online players into a float - by r3k1lLz_ - 25.12.2010, 06:08
Re: Halfing on online players into a float - by bigcomfycouch - 25.12.2010, 06:40
Re: Halfing on online players into a float - by Retardedwolf - 25.12.2010, 06:57
Re: Halfing on online players into a float - by r3k1lLz_ - 25.12.2010, 09:21
Re: Halfing on online players into a float - by r3k1lLz_ - 25.12.2010, 09:29
Re: Halfing on online players into a float - by Retardedwolf - 25.12.2010, 21:17
Re: Halfing on online players into a float - by Mean - 25.12.2010, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)