bei native´s im include errors

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hi


    Ich bin gerade dabei ein Include zu machen. Wenn ich nun aber die natives reinmache, kommen errors und warns:


    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\morphinc.inc(5) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\morphinc.inc(5) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\morphinc.inc(5) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(417) : error 021: symbol already defined: "GetPlayer2DZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(420) : error 021: symbol already defined: "GetPlayerPos"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(421) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(423) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(425) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(428) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(455) : error 021: symbol already defined: "GetPlayer3DZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(457) : error 021: symbol already defined: "x"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(457) : error 021: symbol already defined: "z"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(459) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(461) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(463) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(466) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(478) : error 021: symbol already defined: "IsPlayerInZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(481) : error 021: symbol already defined: "GetPlayer3DZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(482) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(484) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(485) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(487) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(490) : error 021: symbol already defined: "IsPlayerInKZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(493) : error 021: symbol already defined: "GetPlayer3DZone"
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(494) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(496) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(497) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\pawno\include\Zonen.inc(499) : error 010: invalid function or declaration
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3237) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3237) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3237) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3374) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3374) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3374) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(3949) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(4425) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(4425) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(4425) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Rockstar Games Server\GTA San Andreas 0.3\gamemodes\CSRL.pwn(7969) : warning 203: symbol is never used: "KrankZone"
    .
    .
    .


    Woran liegt das?
    So sieht ein native aus:


    Code
    native IsPlayerInKrankZone(playerid, zone[]);


    MFG, Robdeflop