09.06.2013, 15:32
OK.Just put this on the top of the script:
Add this under OnPlayerConnect:
Add this to OnPlayerClickPlayer:
pawn Код:
new externalplayerid[MAX_PLAYERS];
pawn Код:
OnPlayerConnect(playerid)
{
externalplayerid[playerid] = 999;
}
pawn Код:
OnPlayerClickPlayer(playerid,clickedplayerid,source)
{
externalplayerid[playerid] = clickedplayerid;
}