SA-MP Forums Archive
[Report] - 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)
+--- Thread: [Report] (/showthread.php?tid=664175)



[Report] - SeeNN - 21.02.2019

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]);
     }
   }
}



Re: [Report] - N0FeaR - 24.02.2019

Still need help?


Re: [Report] - polygxn - 24.02.2019

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


Re: [Report] - SeeNN - 24.02.2019

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