Server stops working!
#1

I am working for on a PTP server! But i got an problem. When the round ends the begins a new round but then if i use an admin command the server stops working! I use Ladmin V4_2.
Here is the code:
Код:
forward EndRound(playerid);
public EndRound(playerid)
{
	if(TimeLeft != 0)
	{
		TimeLeft--;
		format(TextdrawString, 128, "~y~The president will be safe in %d seconds!", TimeLeft);
		TextDrawHideForAll(Textdraw);
		TextDrawSetString(Textdraw, TextdrawString);
		TextDrawShowForAll(Textdraw);
	}
	else 
	{
		SendRconCommand("changemode PTP2");
	}
	return 1;
}
Thanks Admigo
Reply
#2

Already Fixed by myself!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)