[Ajuda] GZ - create
#7

Tenta isso:

Код:
new GZ; // topo do gm
public OnGameModeInit()
{
	GZ = GangZoneCreate(0.0, 0.0, 0.0, 0.0);
	// As cordenadas tem que seguir esse padrгo: https://sampwiki.blast.hk/wiki/GangZoneC...0.59708555	return 1;
}

public OnPlayerSpawn(playerid)
{
	GangZoneShowForPlayer(playerid, GZ, /*COR*/);
	return 1;
}

public OnGameModeExit()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
	        GangZoneHideForPlayer(i, GZ);
	    }
	}
	return 1;
}
@Edit
Nгo se coloca , em nъmeros decimais, se poe 0.00, 0.00, 0.00, 0.00
Reply


Messages In This Thread
GZ - create - by fdsda - 16.11.2015, 19:58
Re: GZ - create - by SaDaN - 16.11.2015, 20:28
Re: GZ - create - by fdsda - 16.11.2015, 21:01
Re: GZ - create - by arakuta - 16.11.2015, 21:15
Re: GZ - create - by fdsda - 16.11.2015, 21:28
Re: GZ - create - by arakuta - 16.11.2015, 21:40
Re: GZ - create - by SaDaN - 16.11.2015, 21:46
Re: GZ - create - by fdsda - 16.11.2015, 23:05
Re: GZ - create - by SaDaN - 16.11.2015, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)