SA-MP Forums Archive
Gangzones.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gangzones.. (/showthread.php?tid=65689)



Gangzones.. - Klaz - 15.02.2009

Hello, i need help with the gangzones i have done exactly like it says on Xtreme vehicle Plotter, but the Pawno crashes for me?

Why? Please help me

Код:
//======================
// Above OnGameModeInit:
new grove;

// OnGameModeInit Insert
public OnGameModeInit() {
  grove = GangZoneCreate(1191,143, -1868,46, 2604,166, -1471,412);
  return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
  GangZoneShowForPlayer(playerid, grove, 0x00404096);
  return 1;
}
//======================



Re: Gangzones.. - [RP]Rav - 15.02.2009

Код:
grove = GangZoneCreate(1191,143, -1868,46, 2604,166, -1471,412);
al the decimals are done with commas, instead of periods

Код:
grove = GangZoneCreate(1191.143, -1868.46, 2604.166, -1471.412);