PDA

View Full Version : Tutorial doesn't work?


smoke_weed
18/01/2012, 12:26 PM
When I follow these steps http://forum.sa-mp.com/showthread.php?t=276352&highlight=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?

mineralo
18/01/2012, 12:57 PM
you maybe forgot to declarat ZoneInfo
just write in your gamemode
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}
};

smoke_weed
18/01/2012, 01:01 PM
you maybe forgot to declarat ZoneInfo
just write in your gamemode
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

mineralo
18/01/2012, 01:04 PM
mmm...

rati555
18/01/2012, 01:17 PM
http://pastebin.com/0PLG7Y8e here :)
P.S it's filter script

smoke_weed
18/01/2012, 01:33 PM
Thanks man. It s solved:)