SA-MP Forums Archive
help - 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)
+--- Thread: help (/showthread.php?tid=545808)



help - Cr3dO - 10.11.2014

D:\Olcay\[NEW0.5]Outlaw\gamemodes\Credo.pwn(1443) : error 010: invalid function or declaration
D:\Olcay\[NEW0.5]Outlaw\gamemodes\Credo.pwn(1446) : error 010: invalid function or declaration

PHP код:
[1443] - for(new 0sizeof(ZoneInfo); i++)
{
  
GangZoneShowForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
1446] - if(ZoneAttacker[i] != -1GangZoneFlashForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneAttacker[i]));

help me please


Re: help - Dziugsas - 10.11.2014

Please show raw code with all loop.

EDIT: Probably you're putting this not in the callback.


Re: help - Cr3dO - 10.11.2014

http://prikachi.com/images.php?images/754/7715754B.jpg


Re: help - Dziugsas - 10.11.2014

Where do you put this?


Re: help - Cr3dO - 10.11.2014

ongamemodelinit


Re: help - Dziugsas - 10.11.2014

Please show me the whole OnGameModeInit , cause you're probably missing a bracket or something and it's very frustrating when you provide 2 lines of code.