Viele Warnings !!! Könnte Jemand Helfen ?

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
  • Also langsam verzweifel ich !


    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4188) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4194) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4200) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(4206) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(5269) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11400) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11404) : warning 202: number of arguments does not match definition
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11404) : warning 202: number of arguments does not match definition
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(11411) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12757) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12763) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12769) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(12775) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(16242) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(56918) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(59371) : warning 203: symbol is never used: "farbe"
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(62676) : warning 219: local variable "SpielerName" shadows a variable at a preceding level
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(65775) : warning 203: symbol is never used: "BadWords"
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(65775) : warning 203: symbol is never used: "Locked"
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(65775) : warning 203: symbol is never used: "M_OnPlayerDeath"
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(65775) : warning 203: symbol is never used: "M_OnPlayerStateChange"
    C:\Users\Tobias\Desktop\LYL-Server\gamemodes\Life-Your-Live.pwn(65775) : warning 203: symbol is never used: "M_OnPlayerUpdate"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 15732 bytes
    Code size: 2705580 bytes
    Data size: 8172360 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements:10926440 bytes


    94 Warnings.

  • if((newkeys == KEY_ANALOG_DOWN)&&(IsPlayerInAnyVehicle(playerid)))
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(Motor[vehicleid] == false && IsPlayerDriver(playerid))
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
    new string[128];
    format(string,sizeof(string),"%s startet den Motor.",GetPlayerName(playerid));
    SendClientMessageInRange(playerid,string,COLOR_PURPLE,50);
    Motor[vehicleid] = true;
    return 1;
    }
    if(Motor[vehicleid] == true && IsPlayerDriver(playerid))
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
    new string[128];
    format(string,sizeof(string),"%s schaltet den Motor aus.",SpielerName(playerid));
    SendClientMessageInRange(playerid,string,COLOR_PURPLE,50);
    Motor[vehicleid] = false;
    return 1;
    }
    }


    Bekomme da noch immer diese Fehler -.-^^


  • Ich geb dir mal n kleinen Denkanstoß.


    den rest wirst ja wohl finden :)