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



Compile Error. - aDo7 - 08.02.2014

Hello, i got GM have no errors, but while compiling i got 4 errors, i think i have lost files on my pawno..
PHP код:
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(16763) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value
C
:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(35484) : error 017undefined symbol "Get3DZone"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(35484) : warning 202number of arguments does not match definition
C
:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(94020) : error 017undefined symbol "Get3DZone"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(94020) : warning 202number of arguments does not match definition
C
:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(94054) : error 017undefined symbol "Get3DZone"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(94054) : warning 202number of arguments does not match definition
C
:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(107736) : error 017undefined symbol "Get3DZone"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(107736) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
4 Errors




Re: Compile Error. - aDo7 - 08.02.2014

I tried to fix it, by adding this CMD

PHP код:
stock Get3DZone(Float:xFloat:yFloat:zzone[], len//Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
       for(new 
0!= sizeof(gSAZones); i++ )
        {
                if(
>= gSAZones[i][SAZONE_AREA][0] && <= gSAZones[i][SAZONE_AREA][3] && >= gSAZones[i][SAZONE_AREA][1] && <= gSAZones[i][SAZONE_AREA][4] && >= gSAZones[i][SAZONE_AREA][2] && <= gSAZones[i][SAZONE_AREA][5])
                {
                    return 
format(zonelengSAZones[i][SAZONE_NAME], 0);
                }
        }
        return 
0;

But got this errors

PHP код:
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(664) : error 017undefined symbol "gSAZones"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(664) : error 036: empty statement
C
:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(664) : error 017undefined symbol "i"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\MXRP\MXRP\srp3.pwn(664) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors




Re: Compile Error. - aDo7 - 08.02.2014

Bump anyone?