SA-MP Forums Archive
Tutorial doesn't work? - 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: Tutorial doesn't work? (/showthread.php?tid=311769)



Tutorial doesn't work? - smoke_weed - 18.01.2012

When I follow these steps http://forum.sa-mp.com/showthread.ph...light=gangzone

I get this error:
Код:
C:\Users\Nick\Desktop\Call Of Duty - Engine SA-MP\gamemodes\Untit77led.pwn(80) : error 017: undefined symbol "ZoneInfo"
C:\Users\Nick\Desktop\Call Of Duty - Engine SA-MP\gamemodes\Untit77led.pwn(80) : error 036: empty statement
I've followed the steps correctly. Can someone explain this?


Re: Tutorial doesn't work? - mineralo - 18.01.2012

you maybe forgot to declarat ZoneInfo
just write in your gamemode
pawn Код:
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
new ZoneInfo[][eZone] = {
    {2337.9004,-1808.8383,2590.2043,-1610.3673,TEAM_GROVE},
    {2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_BALLAS},
    {2590.2043,-1808.8383,2842.3,-1610.3673,TEAM_VAGOS}
};



Re: Tutorial doesn't work? - smoke_weed - 18.01.2012

Quote:
Originally Posted by mineralo
Посмотреть сообщение
you maybe forgot to declarat ZoneInfo
just write in your gamemode
pawn Код:
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
new ZoneInfo[][eZone] = {
    {2337.9004,-1808.8383,2590.2043,-1610.3673,TEAM_GROVE},
    {2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_BALLAS},
    {2590.2043,-1808.8383,2842.3,-1610.3673,TEAM_VAGOS}
};
No, I have all codes from the tutorial..

Please download the script and look: Pastebin http://pastebin.com/WbwB6QjY


Re: Tutorial doesn't work? - mineralo - 18.01.2012

mmm...


Re: Tutorial doesn't work? - rati555 - 18.01.2012

http://pastebin.com/0PLG7Y8e here
P.S it's filter script


Re: Tutorial doesn't work? - smoke_weed - 18.01.2012

Thanks man. It s solved