[AJUDA]/Dominar e ajuda area - 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]/Dominar e ajuda area (
/showthread.php?tid=288202)
[AJUDA]/Dominar e ajuda area -
wevertonneves - 06.10.2011
Com u mprogama eu pequei esse codigo.
Queria fazer um comando /conquistar.
As 2 Mafias que podem cosquirtar sera Mafia Yakusa ea Costa Nostra
PHP код:
//======================
// Above OnGameModeInit:
new Yakusa;
// OnGameModeInit Insert
public OnGameModeInit() {
Yakusa = GangZoneCreate(1109,582, -1567,377, 1185,638, -1433,154);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, Yakusa, 0x80FF8096);
return 1;
}
//======================
Ficarei agradeзido vvlw
Re: [AJUDA]/Dominar e ajuda area -
[O.z]Caroline - 06.10.2011
pawn Код:
stock Dominar(p, g)
{
SetTimerEx("StopDominate", 1000*5, false, "d",g);
GangZoneFlashForAll(g, GetPlayerColor(p));
return 1;
}
forward StopDominate(g);
public StopDominate(g)
{
GangZoneStopFlashForAll(g);
}
uso:
Dominar(playerid, Yakusa);