Why Fire not destoryed? - 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: Why Fire not destoryed? (
/showthread.php?tid=625075)
Why Fire not destoryed? -
RedRex - 27.12.2016
Hi everyone, How to fix it? When i try to Water the Fire The Fire is never destoryed!!!!
How to fix it?
i did this ITS WORKED But when i fire nothing happend... The Fire not destory
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (HOLDING(KEY_FIRE))
{
for(new i; i < 10; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, FirePosforIdlewood[i][0],FirePosforIdlewood[i][1],FirePosforIdlewood[i][2]))
{
Iminfire[playerid] = SetTimerEx("DestroyFireforPlayer", 3000, false, "i", playerid);
}
}
}
if (RELEASED(KEY_FIRE) && GetPlayerWeapon(playerid) == 42 && dutyforfireman[playerid] == 1)
{
KillTimer(Iminfire[playerid]);
}
return 1;
}
Re: Why Fire not destoryed? -
RedRex - 27.12.2016
BUMB