D:\GameMode\filterscripts\jobs.pwn(1073) : error 001: expected token: ")", but found "{"
Line 1073:if(IsPlayerNearObject(playerid, Drvos[0], 6.0){if(ZdravoDrvos[0] == 1){if(Sece[playerid] == 1){SendClientMessage(playerid, -1, "{00FF00}INFO:{FFFFFF}Vekje secete :D");}else{ Line 1074:SetTimerEx("SeceDrvo1", 10000, false, "i", playerid), TogglePlayerControllable(playerid,0), Sece[playerid] = 1, SendClientMessage(playerid, -1, "{00FF00}INFO:{FFFFFF}Zapocnavte so secenje na drvo");}}}
if(IsPlayerNearObject(playerid, Drvos[0], 6.0)
if(IsPlayerNearObject(playerid, Drvos[0], 6.0)) |
if(IsPlayerNearObject(playerid, Drvos[0], 6.0)) // error add one ")"
{
if(ZdravoDrvos[0] == 1)
{
if(Sece[playerid] == 1)
{
SendClientMessage(playerid, -1, "{00FF00}INFO:{FFFFFF}Vekje secete :D");
}
else
{
SetTimerEx("SeceDrvo1", 10000, false, "i", playerid), TogglePlayerControllable(playerid,0), Sece[playerid] = 1, SendClientMessage(playerid, -1, "{00FF00}INFO:{FFFFFF}Zapocnavte so secenje na drvo");
}
}
}