DestroyFire Object Problem
#1

Hello. I hava a fire system , but when i kill a fire , i got the message instantly!
http://imgur.com/a/A6q94
i got this message every 3 seconds...
http://imgur.com/a/FT8IK
Код:
if(newkeys & KEY_FIRE || newkeys & KEY_AIM)
   {
       	if(RespondedToFire[playerid] == 1 && IsAtFire[playerid] == 1)
		{
			FireTimer[playerid] = SetTimerEx("PuttingOutFire",12000, true, "i",playerid);
		}
Код:
public PuttingOutFire(playerid)
{
	DestroyObject(FireObject[playerid]);
 	SendClientMessage(playerid,COLOR_LIGHTRED, "You have Extingushed the Fire.");
  	DisablePlayerCheckpoint(playerid);
   	RespondedToFire[playerid] = 0;
    SetTimer("RandFireTimer",200000,true);
}
Reply


Messages In This Thread
DestroyFire Object Problem - by MrTea - 14.05.2017, 15:53
Re: DestroyFire Object Problem - by Morpheus1992 - 14.05.2017, 16:09
Re: DestroyFire Object Problem - by MrTea - 14.05.2017, 18:05
Re: DestroyFire Object Problem - by MrTea - 15.05.2017, 13:33
Re: DestroyFire Object Problem - by iLearner - 15.05.2017, 13:36
Re: DestroyFire Object Problem - by MrTea - 15.05.2017, 14:46
Re: DestroyFire Object Problem - by GTLS - 15.05.2017, 16:31
Re: DestroyFire Object Problem - by MrTea - 16.05.2017, 15:26
Re: DestroyFire Object Problem - by GTLS - 16.05.2017, 18:13
Re: DestroyFire Object Problem - by GTLS - 17.05.2017, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)