07.08.2014, 12:32
I Don't like using TAB For showing scoreboard.
Maybe changing it to another key. or something like this:
So we can easily control it like this:
Using /scoreboard to show or hide. (If shown, hide. If Hiden, Show it)
Maybe changing it to another key. or something like this:
pawn Code:
native ShowScoreBoardForPlayer(playerid);
native HideScoreBoardForPlayer(playerid);
native IsScoreBoardVisibleForPlayer(playerid);
Using /scoreboard to show or hide. (If shown, hide. If Hiden, Show it)
pawn Code:
CMD:scoreboard(playerid, params)
{
(!IsScoreBoardVisibleForPlayer(playerid)) ? ShowScoreBoardForPlayer(playerid) : HideScoreBoardForPlayer(playerid);
return 1;
}