[Report]
#1

If a player report another player,and the player reported quit from server,the textdraw report don't disappear,I don't know what is wrong

Код HTML:
ReloadReports(playerid)
{
   if(CosminInfo[playerid][ReportedBy] == -1)
   {
     foreach(new l: Player) if(CosminInfo[l][Level] >= 3)
     {
	    if(ServerInfo[ServerReports] == 0)      TextDrawHideForPlayer(l, ReportInfo[0]), TextDrawHideForPlayer(l, ReportInfo[1]);
	    else                                    TextDrawShowForPlayer(l, ReportInfo[0]), TextDrawShowForPlayer(l, ReportInfo[1]);
     }
   }
}
Reply
#2

Still need help?
Reply
#3

Check if the guy (who got reported) have pending reports, and if so delete the textdraw at OnPlayerDisconnect(?)
Reply
#4

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Still need help?
Yes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)