SA-MP Forums Archive
[Ajuda] GangZone - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] GangZone (/showthread.php?tid=391910)



GangZone - davi54723 - 12.11.2012

Oque hб de errado nessa gangzone?


pawn Код:
//======================
// Above OnGameModeInit:
new PoliceZone;

// OnGameModeInit Insert
public OnGameModeInit() {
    PoliceZone = GangZoneCreate(1436.625, -1745.026, 1550.711, -1595.012);
    return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
    GangZoneShowForPlayer(playerid, PoliceZone, 0x0000FFE7);
    return 1;
}
//======================



Re: GangZone - davi54723 - 12.11.2012

Resolvido.


Re: GangZone - davi54723 - 12.11.2012

Eu gostaria de saber como faзo para o player receber um alerta quando entrar na zona ?


Re: GangZone - Sergiinhonike - 12.11.2012

Sim tem como, procura por isso aqui no forum, ou coisas do tipo:
IsIsPlayerInArea


Re: GangZone - zSuYaNw - 12.11.2012

http://pastebin.com/XhtgEPc3