How to do this?
#7

It depends what function you're using it on. If you're using it on OnPlayerConnect, then yes it will work with HnRAvailable[playerid] = 1;

If you're using it in a completely different, or non-public function, then you will need to use:
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
     HnRAvailable[i] = 1;
}
i = 0, because the server starts with ID 0 by default, not ID 1.
Reply


Messages In This Thread
How to do this? - by Guitar - 25.08.2012, 05:11
Re: How to do this? - by Akira297 - 25.08.2012, 05:12
Re: How to do this? - by Guitar - 25.08.2012, 13:32
Re: How to do this? - by clarencecuzz - 25.08.2012, 13:57
Re: How to do this? - by FalconX - 25.08.2012, 14:00
Re: How to do this? - by Guitar - 25.08.2012, 15:01
Re: How to do this? - by clarencecuzz - 25.08.2012, 15:05
Re: How to do this? - by Guitar - 25.08.2012, 15:12
Re: How to do this? - by Guitar - 25.08.2012, 15:42
Re: How to do this? - by Guitar - 26.08.2012, 07:54

Forum Jump:


Users browsing this thread: 1 Guest(s)