10.04.2011, 13:58
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == zone)
{
if(gTeam[playerid]==P)
{
SendClientMessageToAll(COLOR_YELLOW,"The President team has token the Dictator Zone");
GangZoneDestroy(Blue);
Blue = GangZoneCreate(-81.782714, 1628.125732, 430.217285, 2140.125732);
GangZoneShowForAll( Blue, 65477);//red = team 65477= Color(blue))
}
}
Ignore the gTeam!
{
if(pickupid == zone)
{
if(gTeam[playerid]==P)
{
SendClientMessageToAll(COLOR_YELLOW,"The President team has token the Dictator Zone");
GangZoneDestroy(Blue);
Blue = GangZoneCreate(-81.782714, 1628.125732, 430.217285, 2140.125732);
GangZoneShowForAll( Blue, 65477);//red = team 65477= Color(blue))
}
}
Ignore the gTeam!