SA-MP Forums Archive
Show Player List OnGameModeExit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Show Player List OnGameModeExit (/showthread.php?tid=106047)



Show Player List OnGameModeExit - Almamu - 01.11.2009

I'm programming a Team DeathMatch And I Want To Show The PlayerList(Such Like Pressing TAB) Calling GameModeExit();
Thanks In Advanced

P.D: I Can't Use The Search Box Of The Forum, It Gives Me A Error.


Re: Show Player List OnGameModeExit - dice7 - 01.11.2009

You mean calling GameModeExit(); when pressing TAB ?
Then

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys & KEY_ACTION)
  {
    GameModeExit();
  }
  return 1;
}



Re: Show Player List OnGameModeExit - Almamu - 01.11.2009

Quote:
Originally Posted by dice7
You mean calling GameModeExit(); when pressing TAB ?
Then

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys & KEY_ACTION)
  {
    GameModeExit();
  }
  return 1;
}
No. I Want To Show The PlayerList in the public OnGameModeExit