Help me please
#1


anyone can help me please ?
the red circles where you stand to capture the capture area are missing but they are only missing
Reply
#2

I think you should use streamer
Reply
#3

still cant
Reply
#4

can you show us the code of created capture areas with their checkpoints ?
Reply
#5

//================================CAPTURE ZONES=================================
stock CaptureZoneMessage(playerid, messageid)
{
switch(messageid)
{
case 1:
{
SendClientMessage(playerid, red,"You cannot capture while in vehicle!");
}
case 2:
{
SendClientMessage(playerid, red,"This zone is already being taken over!");
}
case 3:
{
SendClientMessage(playerid, red,"You can't capture area's while on adminduty!");
}
}
return 1;
}
//===============SNAKE FARMS============================================= =======
stock ActiveSnakeFarm(playerid)
{
if(Spectating[playerid] == 0 || PlayerInfo[playerid][OnDuty] == 0)
{
if(UnderAttack[SNAKE] == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
UnderAttack[SNAKE] = 1;
timer[playerid][SNAKE] = SetTimerEx("SnakeFarm", 25000, false,"i",playerid);
Captured[playerid][SNAKE] = 0;
SendClientMessage(playerid, 0xFFFFFFFF,"| - Stay in this checkpoint for 25 seconds to capture! - |");
if(gTeam[playerid] == TEAM_EURASIA)
{
GangZoneFlashForAll(Zone[SNAKE], TEAM_ZONE_EURASIA_COLOR);
}
else if(gTeam[playerid] == TEAM_ARAB)
{
GangZoneFlashForAll(Zone[SNAKE], TEAM_ZONE_ARAB_COLOR);
}
else if(gTeam[playerid] == TEAM_SOVIET)
{
GangZoneFlashForAll(Zone[SNAKE], TEAM_ZONE_SOVIET_COLOR);
}
else if(gTeam[playerid] == TEAM_USA)
{
GangZoneFlashForAll(Zone[SNAKE], TEAM_ZONE_USA_COLOR);
}
else if(gTeam[playerid] == TEAM_AUS)
{
GangZoneFlashForAll(Zone[SNAKE], TEAM_ZONE_AUS_COLOR);
}
//------Message-----
if(tCP[SNAKE] == TEAM_EURASIA)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is controlled by team "COL_RED"<EURASIA>");
SendTeamMessage(TEAM_EURASIA, green,"*Snakes Farm is under attack!");
}
else if(tCP[SNAKE] == TEAM_ARAB)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is controlled by team "COL_RED"<ARAB>");
SendTeamMessage(TEAM_ARAB, green,"*Snakes Farm is under attack!");
}
else if(tCP[SNAKE] == TEAM_SOVIET)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is controlled by team "COL_RED"<SOVIET>");
SendTeamMessage(TEAM_SOVIET, green,"*Snakes Farm is under attack!");
}
else if(tCP[SNAKE] == TEAM_USA)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is controlled by team "COL_RED"<USA>");
SendTeamMessage(TEAM_USA, green,"*Snakes Farm is under attack!");
}
else if(tCP[SNAKE] == TEAM_AUS)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is controlled by team "COL_RED"<AUSTRALIA>");
SendTeamMessage(TEAM_AUS, green,"*Snakes Farm is under attack!");
}
else if(tCP[SNAKE] == TEAM_NONE)
{
SendClientMessage(playerid, COLOR_WHITE,"This flag is not controlled by any team");
}
//---------loop-------//
for(new i = 0; i < MAX_PLAYERS; i ++)
{
IsPlayerCapturing[i][SNAKE] = 1;
}
}
else return CaptureZoneMessage(playerid, 1);
}
else return CaptureZoneMessage(playerid, 2);
}
else return CaptureZoneMessage(playerid, 3);
return 1;
}
stock SnakeFarmCaptured(playerid)
{
Captured[playerid][SNAKE] = 1;
UnderAttack[SNAKE] = 0;
KillTimer(timer[playerid][SNAKE]);
TextDrawHideForPlayer(playerid, CountText[playerid]);
CountVar[playerid][SNAKE] = 25;
GivePlayerScore(playerid, 5);
GivePlayerMoney(playerid, 5000);
SendClientMessage(playerid, COLOR_WHITE,"You got +5 scores and +$5000 cash for this area!");
Reply
#6

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
can you show us the code of created capture areas with their checkpoints ?
This error can be fixed without asking for code...

---

Update your streamer plugin and includes and then compile the script with the newer version of streamer.
Reply
#7

thank you bro <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)