Need help with some function.
#12

Quote:

stock ActiveCAPZONE(playerid)
{
if(UnderAttack[CAPZONE] == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
UnderAttack[CAPZONE] = 1;
timer[playerid][CAPZONE] = SetTimerEx("CAPZONETimer", 30000, false,"i", playerid);
Captured[playerid][CAPZONE] = 0;
SendClientMessage(playerid, -1, "[ZONE]Stay Here for 30 seconds to capture this zone.");
if(gTeam[playerid] = TEAM_ASIA)
{
GangZoneFlashForAll(Zone[CAPZONE], );
}
else if(gTeam[playerid] = TEAM_USA)
{
GangZoneFlashForAll(Zone[CAPZONE], 0x2800FFFF);
}
else if(gTeam[playerid] = NONE)
{
SendClientMessage(playerid, -1, "[ZONE]This zone is not captured by any team! You can capture it");
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
IsPlayerCapturing[i][CAPZONE] = 1;
}
}
else return CaptureZoneMessage(playerid, 1);
}
else return CaptureZoneMessage(playerid, 2);
return 1;
}

that's
Reply


Messages In This Thread
Need help with some function. - by Sawalha - 15.11.2013, 06:17
Re: Need help with some function. - by newbie scripter - 15.11.2013, 06:19
Re: Need help with some function. - by Cameltoe - 15.11.2013, 06:20
Re: Need help with some function. - by Giroud12 - 15.11.2013, 06:22
Re: Need help with some function. - by Sawalha - 15.11.2013, 07:14
Re: Need help with some function. - by Cameltoe - 15.11.2013, 07:22
Re: Need help with some function. - by Sawalha - 15.11.2013, 07:37
Re: Need help with some function. - by Cameltoe - 15.11.2013, 08:29
Re: Need help with some function. - by Sawalha - 15.11.2013, 09:53
Re: Need help with some function. - by Sawalha - 16.11.2013, 08:16
Re: Need help with some function. - by newbie scripter - 16.11.2013, 08:31
Re: Need help with some function. - by Sawalha - 16.11.2013, 09:30
Re: Need help with some function. - by Sawalha - 17.11.2013, 11:21

Forum Jump:


Users browsing this thread: 1 Guest(s)