simple question
#1

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();
	}
Reply
#2

What the problem now ?
Reply
#3

when player disconnect the report or question wont disappear if no one answeared before the player DC
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)