[FilterScript] Sonny's Ranking system [Based on Scores, Cash] + Extra: Ping
#3

Quote:
Originally Posted by NaS
View Post
Wow every FS nowadays has the same two issues

- Global TextDraws used for per-player purposes
- No TD init when FS is loaded

Also you don't destroy textdraws on unload, and don't handle a gamemode restart.
1. Why I can't use global textdraws for per-player purposes?

2. I only forgot to add:

Code:
public OnPlayerDisconnect(playerid, reason)
{
    TextDrawHideForPlayer(playerid, PlayerranksTextdraw[playerid]);
	return 1;
}
3. I did not add destroy textdraw because I don't see reason why would owner of server reload this filterscript, even they can just put it in the main gamemode.


Otherwise I don't think that this fs has any issues, its tested 100%
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)