25.10.2016, 21:46
hey guys i have a sistem when a player report or ask a question and no one answear to him and the player disconnect from server the report or question is still pending and i have a script that if a player who had an active report,question and he disconnect the question or report it will remain i have a textdraw like Reports: 1 / Questions: 1 and the report,question wont destroy after player disconnect i have this scripte under onplayerdisconnect
Код HTML:
if(HasReported[playerid] == 1) { Reports--; UpdateStaffTextdraw(); } if(HelperAnswer[playerid] != -1) { Questions--; UpdateStaffTextdraw(); }