Beiträge von Butters°

    ty aber nun ein error
    #include <a_samp>


    #pragma tabsize 0
    #define COLOR_YELLOW 0xFFFF00AA
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    new y_gate;



    public OnFilterScriptInit()
    {
    y_gate = CreateObject(986,1588.491699,-1637.783203,14.141568,0.000000,0.000000,0.000000);


    print("\n--------------------------------------");
    print(" Made by KJ");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    #endif


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/pdo", true) == 0){
    MoveObject(y_gate,1596.682129,-1637.546143,14.429418,3.0);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    if (strcmp(cmdtext, "/pdc", true) == 0){
    MoveObject(y_gate,1588.427490,-1637.588867,14.185813,3.0);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    der error
    C:\Users\kevin\Desktop\Pdgate.pwn(41) : error 030: compound statement not closed at the end of file (started at line 31)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    HEy kann jetzt objecte erstellen aber keine moveobjects^^ hier mal :
    #include <a_samp>


    #pragma tabsize 0
    #define COLOR_YELLOW 0xFFFF00AA
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    new y_gate;



    public OnFilterScriptInit()
    {
    y_gate = CreateObject(986,1588.491699,-1637.783203,14.141568,0.000000,0.000000,0.000000);


    print("\n--------------------------------------");
    print(" Made by KJ");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    #endif


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/pdo", true) == 0){
    MoveObject(y_gate,986,1596.682129,-1637.546143,14.429418,0.000000,0.000000,0.000000);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    if (strcmp(cmdtext, "/pdc", true) == 0){
    MoveObject(y_gate,986,1588.427490,-1637.588867,14.185813,0.000000,0.000000,0.000000);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    return 0;
    }
    hier die 6 warnings
    C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Warnings.

    jo jetzt kann ichs auch danke dir lil aber jetzt habe ich versucht objecte und warnings hier das object :
    CreateObject(988,1255.083740,-1172.090454,23.861492);
    Hier warning:

    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(31) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(31) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(31) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Warnings.

    Also mein problem ist ein cmd hier public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/cmdlist", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,blau,"[-------------------------------------]");
    SendClientMessage(playerid,blau,"/kill Weitere Folgen");
    }
    if (strcmp("/kill", cmdtext, true, 10) == 0)
    {
    SetPlayerHealth(playerid,0);
    GameTextForPlayer(playerid,"Selbstmord ist keine loesung",5000,3);
    }
    if (strcmp("/cars", cmdtext, true, 10) == 0)
    {
    SetPlayerPos(playerid,2494,594727,-1667005615,13,382813); <-------------- der /cars befehl
    }
    return 0;
    }
    und da kommen 2 warnings:
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(103) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(103) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Warnings.

    whats now??

    nö nun 2 errors
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(99) : error 010: invalid function or declaration
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(104) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

    Wie immer^^ habe ich ein problem also diesmal mal wieder mit cmd hier mal meine cmds
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/daten", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,schwarz,"----------------------");
    SendClientMessage(playerid,schwarz,"Noch in bearbeitung");
    SendClientMessage(playerid,schwarz,"----------------------");
    }
    }
    if (strcmp("/help", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,blau,"[-------------------------------------]);
    SendClientMessage(playerid,blau,"Account:/daten");
    }
    }

    Und mein error :
    C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(97) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    Übrigends wie kann ich nen timer einstelln??
    also ich meine da steht jezz Guten tag sir dir werden nun die regeln vorgezeigt
    dann 5 sek pause.
    mfg Germanfreak

    Hey ich wollte mir mal ein Register system erstellen aber ich weiß einfach nicht wie^^
    Es sollte Admin level
    Geld
    Auto
    alles was man braucht halt kann mir jemand nen tut geben wies geht?

    ty ty silver dark hier nur noch 1 warning :
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(30) : warning 225: unreachable code
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    Bin essen:P

    so problem gelöst^^ nächste problem hier :
    #include <a_samp>
    static gTeam[MAX_PLAYERS];
    #define COLOR_grau 0xAFAFAFAA
    #define COLOR_grün 0x33AA33AA
    #define COLOR_rot 0xAA3333AA
    #define COLOR_gelb 0xFFFF00AA
    #define TEAM_Alpha 0


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 393921,-1614.912720,13.4218750);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }
    {
    if(classid == 0)
    {
    gTeam[playerid] = TEAM_Alpha;
    }
    }
    Errors+Warnings
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(31) : error 055: start of function body without function header
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(32) : error 010: invalid function or declaration
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(158) : warning 203: symbol is never used: "gTeam"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.
    idee???

    Hey also habe mal wieder problem diesmal mit Gteam wollte mir nen team erstelln also hier#include <a_samp>
    static gTeam[MAX_PLAYERS];
    #define COLOR_grau 0xAFAFAFAA
    #define COLOR_grün 0x33AA33AA
    #define COLOR_rot 0xAA3333AA
    #define COLOR_gelb 0xFFFF00AA
    #define TEAM_Alpha 0
    Aba dann kommen foglende Errors und zwa richtig viele:
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(33) : error 021: symbol already defined: "OnPlayerRequestClass"
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(36) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(36) : error 004: function "OnPlayerConnect" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(42) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(42) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(42) : error 004: function "OnPlayerDisconnect" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(47) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(47) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(47) : error 004: function "OnPlayerSpawn" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(52) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(52) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(52) : error 004: function "OnPlayerDeath" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(57) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(57) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(57) : error 004: function "OnVehicleSpawn" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(62) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(62) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(62) : error 004: function "OnVehicleDeath" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(67) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(67) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(67) : error 004: function "OnPlayerText" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(72) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(72) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(72) : error 004: function "OnPlayerPrivmsg" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(77) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(77) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(77) : error 004: function "OnPlayerCommandText" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(79) : error 017: undefined symbol "cmdtext"
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(87) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(87) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(87) : error 004: function "OnPlayerInfoChange" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(92) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(92) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(92) : error 004: function "OnPlayerEnterVehicle" is not implemented
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(97) : warning 225: unreachable code
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(97) : error 029: invalid expression, assumed zero
    C:\Users\kevin\Desktop\Samp server\gamemodes\ModebyKJ.pwn(97) : error 004: function "OnPlayerExitVehicle" is not implemented


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.
    Wisst ihr was ich falsch gemacht habe???

    Grex dann kommen 5 warnings man ich weiß net was ich machen soll
    C:\Users\kevin\Desktop\Samp server\gamemodes\M&M.pwn(25) : warning 213: tag mismatch
    C:\Users\kevin\Desktop\Samp server\gamemodes\M&M.pwn(25) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\M&M.pwn(25) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\M&M.pwn(25) : warning 202: number of arguments does not match definition
    C:\Users\kevin\Desktop\Samp server\gamemodes\M&M.pwn(25) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Warnings.