GAMEMODE FAIL !

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 hab ein Problem mit meiner GAMEMODE


    TR.pwn(17688) : error 029: invalid expression, assumed zero
    TR.pwn(17708) : error 029: invalid expression, assumed zero
    TR.pwn(17728) : error 029: invalid expression, assumed zero
    TR.pwn(17748) : error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


  • wie ich sehe sollen die befehle jeder benutzen können dann versuch es mal ohne
    if (PlayerInfo[playerid][pAdmin] >= 0)


    //---------------------------- ADMIN_KONTAKT ------------------------------------
    if(strcmp(cmd, "/adminkontakt", true) == 0 || strcmp(cmd, "/deniz", true) == 0
    {
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_YELLOW, "====KONTAKT_ZU_DENIZ====");
    SendClientMessage(playerid, COLOR_WHITE, "MSN: d.dursun@live.de");
    SendClientMessage(playerid, COLOR_WHITE, "ICQ: 563-794-427");
    SendClientMessage(playerid, COLOR_WHITE, "FACEBOOK: Deniz Dursun");
    SendClientMessage(playerid, COLOR_WHITE, "SCHUELERVZ: Deniz Dursun");
    SendClientMessage(playerid, COLOR_WHITE, "YOUTUBE: GermanHDTutorial");
    SendClientMessage(playerid, COLOR_YELLOW, "========================");
    SendClientMessage(playerid, COLOR_YELLOW, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    }
    return 1;
    }
    //---------------------------- Forum --------------------------------------------
    if(strcmp(cmd, "/forum", true) == 0 || strcmp(cmd, "/homepage", true) == 0
    {
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_YELLOW, "=======================");
    SendClientMessage(playerid, COLOR_WHITE, "FORUM: tr.gt-reallife.de");
    SendClientMessage(playerid, COLOR_YELLOW, "=======================");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    }
    return 1;
    }
    //---------------------------- TeamSpeak ----------------------------------------
    if(strcmp(cmd, "/teamspeak", true) == 0 || strcmp(cmd, "/ts", true) == 0
    {
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_GRAD1, "===========================================");
    SendClientMessage(playerid, COLOR_GRAD1, "TEAMSPEAK 3 VOICE-SERVER: 81.89.102.46:7777");
    SendClientMessage(playerid, COLOR_GRAD1, "===========================================");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    }
    return 1;
    }
    //---------------------------- SERVER_INFO --------------------------------------------
    if(strcmp(cmd, "/serverinfo", true) == 0 || strcmp(cmd, "/serverinformationen", true) == 0
    {
    if(IsPlayerConnected(playerid))


    {
    SendClientMessage(playerid, COLOR_YELLOW, "===================SERVER_INFO===========");
    SendClientMessage(playerid, COLOR_RED, "SERVERBESITZER: [LoH]Deniz");
    SendClientMessage(playerid, COLOR_RED, "SERVERVERSION: LoH Version 1.0 FINAL");
    SendClientMessage(playerid, COLOR_WHITE, "FORUM: tr.gt-reallife.de");
    SendClientMessage(playerid, COLOR_WHITE, "SERVER IP: 81.89.107.237:7777");
    SendClientMessage(playerid, COLOR_WHITE, "TEAMSPEAK3 VOICE-SERVER: 81.89.102.46:7777");
    SendClientMessage(playerid, COLOR_RED, "SINCE 2008");
    SendClientMessage(playerid, COLOR_YELLOW, "=========================================");
    SendClientMessage(playerid, COLOR_GRAD1, " ");
    }
    return 1;
    }

  • C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(25) : error 021: symbol already defined: "MoneySpam"
    C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(17688) : error 029: invalid expression, assumed zero
    C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(17708) : error 029: invalid expression, assumed zero
    C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(17728) : error 029: invalid expression, assumed zero
    C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(17748) : error 029: invalid expression, assumed zero
    C:\Users\Deniz_1\Desktop\LoH v0.4\gamemodes\TR.pwn(42863) : warning 203: symbol is never used: "isblank"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.


    KANN MIR EINER HELFEN ???

    2 Mal editiert, zuletzt von [TR]Deniz ()