AddPlayerClass warnings

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
  • hey ich habe paar warnings wie krieg ich sie weg?


    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(21) : warning 202: number of arguments does not match definition
    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(22) : warning 202: number of arguments does not match definition
    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(23) : warning 202: number of arguments does not match definition
    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(24) : warning 202: number of arguments does not match definition
    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(25) : warning 202: number of arguments does not match definition
    C:\Users\Marc\Desktop\Für Alles\Alle GTA Sachen\GTA Selfmade\gamemodes\selfmadee.pwn(26) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Warnings.


    AddPlayerClass(0,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(1,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(2,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(6,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(11,1714.6810,-1912.3604, 13.5666,0,0,0,0,0,0);
    AddPlayerClass(12,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);

  • hab ich doch oder nicht??
    public OnGameModeInit()
    {
    SetGameModeText("jaha");
    AddPlayerClass(0,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(1,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(2,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(6,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(11,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    AddPlayerClass(12,1714.6810,-1912.3604,13.5666,0,0,0,0,0,0);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid,1714.6810,-1912.3604,13.5666);
    SetPlayerCameraPos(playerid, 1714.6810,-1912.3604,13.5666);
    SetPlayerCameraLookAt(playerid, 1714.6810,-1912.3604,13.5666);
    SetPlayerFacingAngle(playerid,13.5666);
    return 1;
    }