03.01.2011, 09:29
(
Последний раз редактировалось Jordan Smith; 03.01.2011 в 13:55.
)
Anyone had any idea how to save the GangZone Show and GangZone Create
pawn Код:
////if(strcmp(cmd, "/takeover", true) == 0)
{
if (PlayerToPoint(3, playerid, 2533.0771,-1664.6176,15.1666) || PlayerToPoint(3, playerid, 2019.9958,-1094.6997,24.5887) || PlayerToPoint(3, playerid, 2323.5935,-1254.1749,22.5000))
{
if(PlayerInfo[playerid][pFMember] < 255)
{
if (RacketsTime == 1)
{
SendClientMessageToAll(COLOR_RED, " A turf is being taken over, will be over in 10 minutes ! ");
if (PlayerToPoint(3, playerid, 2533.0771,-1664.6176,15.1666))
{
Grove_Street = GangZoneCreate(2425.363, -1733.182, 2524.237, -1634.489);
GangZoneShowForPlayer(playerid, Grove_Street, 0x00FF0096);
GangZoneFlashForAll(playerid, 0xAA3333AA)
SetTimer("RacketOver", 600000, 0);
}
if (PlayerToPoint(3, playerid, 2019.9958,-1094.6997,24.5887))
{
Ballaz_Gang = GangZoneCreate(1873.952, -1267.349, 2075.502, -1097.596);
GangZoneShowForPlayer(playerid, Ballaz_Gang, 0xFF00FF96);
SetTimer("RacketOver", 600000, 0);
}
if (PlayerToPoint(3, playerid, 2323.5935,-1254.1749,22.5000))
{
Garage_Gang = GangZoneCreate(2303.672, -1287.088, 2345.503, -1168.656);
GangZoneShowForPlayer(playerid, Garage_Gang, 0xFF800096);
SetTimer("RacketOver", 600000, 0);
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, " ** A Racket has not started yet !");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, " ** You are not in a gang !");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, " ** You're not at a take over spot ! **");
}
return 1;
}