27.12.2016, 17:30
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
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; }