[MAX_PLAYERS] must be indexed
#4

OK.Just put this on the top of the script:
pawn Код:
new externalplayerid[MAX_PLAYERS];
Add this under OnPlayerConnect:
pawn Код:
OnPlayerConnect(playerid)
{
 externalplayerid[playerid] = 999;
}
Add this to OnPlayerClickPlayer:
pawn Код:
OnPlayerClickPlayer(playerid,clickedplayerid,source)
{
 externalplayerid[playerid] = clickedplayerid;
}
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: 5 Guest(s)