Need help, check for a location ID.
#3

Quote:
Originally Posted by Matz
Посмотреть сообщение
I didn't really understand that command but you may add:

Код:
#define MAX_LOADS somenumberhere
new bool:IsLoadUsed[MAX_LOADS];
So if it used you add there:

Код:
IsLoadUsed[id] = true; or false;
Exactly!

Код:
for(new i = 0; i < MAX_LOADS; i ++)
{
    if(IsLoadUsed[i] == false) continue;

    printf("ID %i already been added", IsLoadUsed[i]);
}
Reply


Messages In This Thread
Need help, check for a location ID. - by Sjn - 27.06.2016, 08:33
Re: Need help, check for a location ID. - by Matz - 27.06.2016, 12:02
Re: Need help, check for a location ID. - by F1N4L - 27.06.2016, 12:08
Re: Need help, check for a location ID. - by Stinged - 27.06.2016, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)