[MAX_PLAYERS] must be indexed
#10

It should look like this:
On the top:
pawn Код:
new IsPlayerSuspected[MAX_PLAYERS];
pawn Код:
forward Suspecter(playerid);
public Suspecter(playerid)
{
    IsPlayerSuspected[playerid] = 1;
}
And when you call the function , I mean when you suspect him , when you click on him like this:
pawn Код:
Suspecter(externalplayerid[playerid]);
Reply


Messages In This Thread
[MAX_PLAYERS] must be indexed - by NvidiaForTheWin - 09.06.2013, 14:51
Re: [MAX_PLAYERS] must be indexed - by Aly - 09.06.2013, 15:07
Re : [MAX_PLAYERS] must be indexed - by NvidiaForTheWin - 09.06.2013, 15:20
Re: [MAX_PLAYERS] must be indexed - by Aly - 09.06.2013, 15:32
Re : [MAX_PLAYERS] must be indexed - by NvidiaForTheWin - 09.06.2013, 15:46
Re: [MAX_PLAYERS] must be indexed - by Aly - 09.06.2013, 15:51
Re : [MAX_PLAYERS] must be indexed - by NvidiaForTheWin - 09.06.2013, 16:00
Re: [MAX_PLAYERS] must be indexed - by Aly - 09.06.2013, 16:11
Re : [MAX_PLAYERS] must be indexed - by NvidiaForTheWin - 09.06.2013, 16:35
Re: [MAX_PLAYERS] must be indexed - by Aly - 09.06.2013, 16:39

Forum Jump:


Users browsing this thread: 3 Guest(s)