SA-MP Forums Archive
[HELP]Creat gang zone error - 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: [HELP]Creat gang zone error (/showthread.php?tid=109727)



[HELP]Creat gang zone error - trindade02 - 22.11.2009

Hello everyone, I'm riding a game mod gang war, but is giving an error inexplicable to me,
I saved the xyz gang zone, put the line correctly

/ / Above OnGameModeInit:
new zone1;

/ / Insert OnGameModeInit
public OnGameModeInit () (
zone1 = GangZoneCreate (1790.785, 1480.99, 2017.266, 1678.262);
return 1;
)
/ / Player Spawn
public OnPlayerSpawn (playerid) (
GangZoneShowForPlayer (playerid, zone1, 0x00000096);
return 1;
)
//======================
I have to include, not more of it does not come out right on the map, it goes wrong totally out of place,
Sorry my bad English.
I hope you understand, anything posted.


Re: [HELP]Creat gang zone error - trindade02 - 22.11.2009

create*
Code:
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(921) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Warnings.



Re: [HELP]Creat gang zone error - BasH96 - 22.11.2009

Quote:
Originally Posted by trindade02
create*
Code:
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(124) : warning 202: number of arguments does not match definition
D:\Arquivos de Programas\Rockstar Games\GTA San Andreas\teste.pwn(921) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Warnings.
Have you tried to look if you have a number in the folder of GTA San Andreas? Any notebook that commands in the server (?)