Backtrace
#1

PHP Code:
AMX backtrace:
[
debug#0 00047cac in public capturing (playerid=1) at C:\Users\iLearner\Desktop\ffss\pawno\include\FFS/FFS_gangs.inc:220 
PHP Code:
forward capturing(playerid);
public 
capturing(playerid)
{
    if(
GetTickCount() > (lastupdate[playerid]+3000))
    {
        new 
zone Gang[Player[playerid][PlayerGang]][CurrentZone];
        if(
isCapturing[playerid])
        {
            new 
msg[128]; //line 219, 220 is the below one,
            
format(msgsizeof(msg), "{FF0000}** %s gang failed to capture %s zone! Reason: AFK"Gang[Player[playerid][PlayerGang]][GangName], GangZone[zone][ZoneName]); 
            
SendClientMessageToAll(-1msg);
            
format(msgsizeof(msg), "{FF0000}** %s zone will be locked for %d minutes!"GangZone[zone][ZoneName], LOCKED_MINUTES);
            
SendClientMessageToAll(-1msg);
            
Gang[Player[playerid][PlayerGang]][CurrentZone] = -1;
            
GangZone[zone][ZoneLocked] = GetTickCount();
            
GangZone[zone][ZoneStatus] = false;
            
GangZoneStopFlashForAll(GangZone[zone][ZoneHolder]);        
        }
    }
    

Reply
#2

nvm i fixed it.

Edit: I didnt kill the timer... that was the problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)