14.03.2015, 10:32
Timer[playerid][CAPZONE] = SetTimerEx("CAPZONETimer", 30000, false,"i",playerid);
CountBarTimer = SetTimerEx("CountBar", 1000, true, "i", playerid);
stock CAPZONECaptured(playerid)
{
GangZoneCaptured[playerid][CAPZONE] = 1;
UnderAttack[CAPZONE] = 0;
KillTimer(Timer[playerid][CAPZONE]);
KillTimer(CountBarTimer);
Its a timer and its stops when 30 secs are completed,it should show 1 to 30 and default value is 0 but its showing values like 1042040 etc and about that playerid thing i am using progressbar2 by southclaw so it uses per player bars
CountBarTimer = SetTimerEx("CountBar", 1000, true, "i", playerid);
stock CAPZONECaptured(playerid)
{
GangZoneCaptured[playerid][CAPZONE] = 1;
UnderAttack[CAPZONE] = 0;
KillTimer(Timer[playerid][CAPZONE]);
KillTimer(CountBarTimer);
Its a timer and its stops when 30 secs are completed,it should show 1 to 30 and default value is 0 but its showing values like 1042040 etc and about that playerid thing i am using progressbar2 by southclaw so it uses per player bars