As you can see, OnGameModeExit doesn't have a 'playerid' parameter, so you'll just have to do a loop for all connected players:
pawn Код:
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GameTextForPlayer(i, "~r~Game Over~n~Loading next map...", 11000, 5);
}
}
return 1;
}