Beiträge von Akaya

    Versuch es mal mit den 3 Sachen:


    lightEffect(vid)
    {
    new xx[7];
    GetVehicleParamsEx(vid,xx[0],xx[1],xx[2],xx[3],xx[4],xx[5],xx[6]);
    new andas=((xx[1]==-1||xx[1]==0)?(1):(0));
    SetTimerEx("lightEffectEx",100,false,"dd",vid,andas);
    SetTimerEx("lightEffectEx",600,false,"dd",vid,xx[1]);
    SetTimerEx("lightEffectEx",1100,false,"dd",vid,andas);
    SetTimerEx("lightEffectEx",1600,false,"dd",vid,xx[1]);
    }


    forward lightEffectEx(vid,stt);


    public lightEffectEx(vid,stt)
    {
    new xx[7];
    GetVehicleParamsEx(vid,xx[0],xx[1],xx[2],xx[3],xx[4],xx[5],xx[6]);
    SetVehicleParamsEx(vid,xx[0],stt,xx[2],xx[3],xx[4],xx[5],xx[6]);
    }


    Wenn du es dann /carlock machst nicht vergessen:


    lightEffect(vehicleid);


    Und den Lichteffekt nicht vergessen:


    lightEffect(PlayerCar[playerid][Dtc_PlayerKey[playerid]][vehicleid]);


    Bzw. ich habe es damals so gemacht:


    - Timer + Public erstellt.
    - Auto was abgeschlossen ist mit einer Variable definiert.
    - In den Timerpublic reingeschrieben, dass das Licht der Variable (von dem Auto) 1x blinken soll.
    - 2. Timer starten
    - Fast dasselbe wie beim 1 Timer machen nur das du diesmal keinen neuen Timer startest.


    Evt. hilft dir auch der Code:


    new car = GetPlayerVehicleID(playerid);
    SetVehicleParamsEx(car,engine,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(car,engine,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective);


    :thumbup:

    Zu dem 1 Error:


    error 012: invalid function call, not a valid address // Du hast dem Symbol keine Funktion zugewiesen


    Zu dem 2 Error:


    error 017: undefined symbol "vid" // Das Symbol (Variable, Konstante oder Funktion) ist nicht deklariert.


    Zu dem 3 Error:


    error 029: invalid expression, assumed zero // Pawno kann die Anweisung bzw. Befehl nicht interpretieren.


    Zu dem 4 Error:


    fatal error 107: too many error messages on one line //Es sind zu viele Errors in einer Zeile. Deswegen wird der Kompilierungsvorgang gestoppt.


    Vllt. helfen dir die ersten 3 Sachen ja weiter. Besser kann ich es leider nicht erklären. Vielleicht kriegst du es jetzt ja auch alleine hin.

    Ich wollte ein neues Supportsystem von Steffen P. einfügen. Leider habe ich aber festgestellt, dass dort einige Abfragen bzw. Klammern nicht passen oder passend sind. Kann da jemand mal für mich drüber schauen und mir den neuen Code hier rein posten? Wäre super lieb von euch :)


    Kleine Info: Habe kein Dini sondern zcmd.


    /* Support System by Steffen P. aka Scriptor.*/

    #include <dini>
    #include <ocmd>

    //----------------------------------------------------------------

    #define COLOR_YELLOW 0xFFFF00AA
    #define COLOR_GREY 0xAFAFAFAA

    //---------------------------------------------------------------

    new TicketZeile[MAX_PLAYERS];
    new SupportTicket[MAX_PLAYERS];
    new TicketAngenommen[MAX_PLAYERS];
    new DeinSupport[MAX_PLAYERS];

    //--------------------------------------------------------------

    //public OnPlayerConnect(playerid)

    TicketZeile[playerid] = 0;
    SupportTicket[playerid] = 0;
    TicketAngenommen[playerid] = 0;
    DeinSupport[playerid] = 0;

    //-------------------------------------------------------------

    ocmd:tickets(playerid, params[])
    {
    #pragma unused params
    if(pInfo[playerid][admin] >= 1)
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Die angezeigten Tickets können mit /taketicket angenommen werden");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(SupportTicket[i] == 1)
    {
    if(TicketAngenommen[i] == 0)
    {
    new string[128], DerSpieler[MAX_PLAYER_NAME];
    GetPlayerName(i, DerSpieler, sizeof(DerSpieler));
    format(string, sizeof(string), "ID: %d Name: %s", i, DerSpieler);
    SendClientMessage(playerid, COLOR_GREY, string);

    }
    }
    }
    }
    return 1;
    }

    ocmd:sup(playerid,params[])
    {
    new text[256];
    if(sscanf(params,"s",text))
    {
    SendClientMessage(playerid, COLOR_GREY,"[Benutzung]: /sup [text]");
    }
    else
    {
    if(TicketAngenommen[playerid] == 0)
    {
    new pname[MAX_PLAYERS],save[512], string[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(save,sizeof save,"Tickets/%s.ini",pname);
    if(!dini_Exists(save) && TicketZeile[playerid] == 0)
    {
    new adminmeldung[128];
    format(adminmeldung, sizeof(adminmeldung), "%s hat ein Support-Ticket geschrieben", pname);
    SendAdminMessage(COLOR_YELLOW, adminmeldung);
    SupportTicket[playerid] = 1;
    TicketZeile[playerid] = 1;
    dini_Create(save);
    dini_Set(save,"Suptext",text);
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT] Du hast ein Ticket mit folgendem Text geöffnet:");
    format(string, sizeof(string), "%s", text);
    SendClientMessage(playerid, COLOR_YELLOW, string);
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT]Warte bis es ein Supporter annimmt!");
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT]Du kannst noch mit /sup 2 weitere Zeilen anhängen");
    return 1;
    }
    else if(TicketZeile[playerid] == 1)
    {
    new string2[128];
    dini_Set(save, "Suptext2",text);
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT] Du hast folgendes an dein Ticket anhängt:");
    format(string2, sizeof(string2), "%s", text);
    SendClientMessage(playerid, COLOR_YELLOW, string2);
    TicketZeile[playerid] = 2;
    return 1;
    }
    else if(TicketZeile[playerid] == 2)
    {
    new string3[128];
    dini_Set(save, "Suptext3",text);
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT] Du hast folgendes an dein Ticket anhängt:");
    format(string3, sizeof(string3), "%s", text);
    SendClientMessage(playerid, COLOR_YELLOW, string3);
    TicketZeile[playerid] = 3;
    return 1;
    }
    else if(TicketZeile[playerid] == 3)
    {
    SendClientMessage(playerid, COLOR_YELLOW, "[SUPPORT] Dein Ticket ist bereits randgefüllt!");
    return 1;
    }
    }
    if(TicketAngenommen[playerid] == 1)
    {
    new pID = DeinSupport[playerid];
    new antwort[128], antwort2[128], DerFragende[MAX_PLAYER_NAME], DerSup[MAX_PLAYER_NAME];
    GetPlayerName(playerid, DerFragende, sizeof (DerFragende));
    GetPlayerName(pID, DerSup, sizeof (DerSup));
    format(antwort, sizeof (antwort),"--> %s", text);
    SendClientMessage(playerid, COLOR_YELLOW, antwort);
    format(antwort2, sizeof (antwort2), "%s schrieb: %s", DerFragende, text);
    SendClientMessage(pID, COLOR_YELLOW, antwort2);
    }

    }
    return 1;
    }

    ocmd:giveticket(playerid, params[])
    {
    new pID, adminid;
    if(sscanf(params,"uu",pID,adminid)){
    return SendClientMessage(playerid, COLOR_GREY,"[Benutzung]: /giveticket [ticketid] [adminid]");
    }
    if(!IsPlayerConnected(adminid))
    {
    return SendClientMessage(playerid, COLOR_GREY,"Admin nicht online");
    }
    if(pInfo[adminid][admin] == 0)
    {
    return SendClientMessage(playerid, COLOR_GREY, "Der Spieler ist kein Admin");
    }
    new pname[MAX_PLAYERS],save[512];
    GetPlayerName(pID,pname,sizeof pname);
    format(save,sizeof save,"Tickets/%s.ini",pname);
    if(!dini_Exists(save))
    {
    return SendClientMessage(playerid, COLOR_GREY,"Die ID hat kein offenes Ticket");
    }
    new NeuerAdmin[MAX_PLAYER_NAME], AlterAdmin[MAX_PLAYER_NAME], Fragender[MAX_PLAYER_NAME];
    GetPlayerName(playerid, AlterAdmin , sizeof(AlterAdmin));
    GetPlayerName(adminid, NeuerAdmin, sizeof(NeuerAdmin));
    GetPlayerName(pID, Fragender , sizeof(Fragender));
    DeinSupport[pID] = adminid;
    new string2[128], string3[128], string4[256], string5[256], string6[256];
    format(string2, sizeof(string2), "[SUPPORT] %s hat dein Ticket an %s weitergegeben.", AlterAdmin, NeuerAdmin);
    SendClientMessage(pID, COLOR_YELLOW, string2);
    SendClientMessage(playerid, COLOR_YELLOW, "Erfolgreich weitergeleitet");
    format(string3, sizeof(string3), "[SUPPORT] %s hat dir %s´s Ticket gegeben. Er schrieb folgendes:", AlterAdmin, Fragender);
    string4 = dini_Get(save, "Suptext");
    string5 = dini_Get(save, "Suptext2");
    string6 = dini_Get(save, "Suptext3");
    SendClientMessage(adminid, COLOR_YELLOW, string3);
    SendClientMessage(adminid, COLOR_YELLOW, string4);
    SendClientMessage(adminid, COLOR_YELLOW, string5);
    SendClientMessage(adminid, COLOR_YELLOW, string6);
    return 1;
    }

    ocmd:deleteticket(playerid, params[])
    {
    new pID;
    if(sscanf(params,"u",pID)){
    return SendClientMessage(playerid, COLOR_GREY,"[Benutzung]: /deleteticket [id]");
    }
    new pname[MAX_PLAYERS],save[512];
    GetPlayerName(pID,pname,sizeof pname);
    format(save,sizeof save,"Tickets/%s.ini",pname);
    if(dini_Exists(save))
    {
    if(pInfo[playerid][admin] >= 1)
    {
    new string[128], DerSup[MAX_PLAYER_NAME];
    GetPlayerName(playerid, DerSup, sizeof(DerSup));
    dini_Remove(save);
    format(string, sizeof(string), "%s hat dein Ticket gelöscht", DerSup);
    SendClientMessage(pID, COLOR_YELLOW, string);
    SendClientMessage(playerid, COLOR_YELLOW, "Erfolgreich gelöscht");
    TicketZeile[pID] = 0;
    TicketAngenommen[pID] = 0;
    DeinSupport[pID] = 0;
    SupportTicket[pID] = 0;
    }
    }
    return 1;
    }

    ocmd:taketicket(playerid,params[])
    {
    new pID;
    new string2[256], string[256], string3[256], string4[256],mitteilung[128] , DerPlayer[MAX_PLAYER_NAME], DerAdmin[MAX_PLAYER_NAME];
    if(sscanf(params,"u",pID)){
    return SendClientMessage(playerid, COLOR_GREY,"[Benutzung]: /taketicket [id]");
    }
    new pname[MAX_PLAYERS],save[512];
    GetPlayerName(pID,pname,sizeof pname);
    format(save,sizeof save,"Tickets/%s.ini",pname);
    if(dini_Exists(save))
    {
    if(pInfo[playerid][admin] >= 1)
    {
    string2 = dini_Get(save,"Suptext");
    string3 = dini_Get(save,"Suptext2");
    string4 = dini_Get(save,"Suptext3");
    GetPlayerName(pID, DerPlayer, sizeof(DerPlayer));
    GetPlayerName(playerid, DerAdmin, sizeof(DerAdmin));
    format(string, sizeof(string), "%s schrieb folgende Supportnachricht:", DerPlayer);
    SendClientMessage(playerid, COLOR_YELLOW, string);
    SendClientMessage(playerid, COLOR_YELLOW, string2);
    SendClientMessage(playerid, COLOR_YELLOW, string3);
    SendClientMessage(playerid, COLOR_YELLOW, string4);
    SendClientMessage(playerid, COLOR_YELLOW, "Du kannst per /aw [ID] antworten");
    format(mitteilung, sizeof(mitteilung), "[SUPPORT] %s hat dein Support Ticket geöffnet. Du kannst nun per /sup direkt mit ihm schreiben!",DerAdmin);
    // new string5[128];
    // format(string5, sizeof (string5), "[SUPPORT] %s hat das Ticket von %s geöffnet");
    //SendAdminMessage(COLOR_YELLOW, string5);
    SendClientMessage(pID, COLOR_YELLOW, mitteilung);
    DeinSupport[pID] = playerid;
    TicketAngenommen[pID] = 1;
    }
    }
    return 1;
    }


    //---------------------------------------------------------------------------------

    stock DeleteTicket(playerid)
    {
    new save1[256], pname[MAX_PLAYERS];
    GetPlayerName(playerid,pname,sizeof pname);
    format(save1,sizeof save1,"Tickets/%s.ini",pname);
    if(fexist(save1))
    {
    dini_Remove(save1);
    }
    return true;
    }

    //-----------------------------------------------------------------------------------------

    //OnPlayerDisconnect

    DeleteTicket(playerid);

    Hallo liebe Breadfish-Nutzer. Ich habe heute nach langer Zeit mal wieder ein kleines MySQL-Accountspeicherungssystem geschrieben. Leider musste ich feststellen, dass leider mehrere Errors aufkreuzen. Könnte ihr mir vllt. helfen? Ich blicke da echt nicht dran lang an dem neuen MySQL. Bin schon etwas länger zum Thema scripten her inaktiv was MySQL angeht.


    //Dieses Script steht unter dem Copyrightschutz von Akaya.
    //Jede Verwendung ohne Erlaubnis wird strafrechtlich verfolgt.


    // ---------- Includes ----------


    #include <a_samp>
    #include <a_mysql>


    // ---------- Farben ------------


    #define ROT 0xFF0000FF
    #define BLAU 0x0000FFFF
    #define GRUEN 0x00FF00FF
    #define GELB 0xFFFF00FF
    #define ORANGE 0xFFC800FF
    #define GOLD 0x808000FF
    #define TUERKIS 0x00C8C8FF
    #define LILA 0xFF00FFFF


    // ---------- MySQL -------------


    #define SQL_HOST "localhost"
    #define SQL_USER "Testuser"
    #define SQL_PASS "Test123"
    #define SQL_DATA "Test"


    main()
    {
    print("German Reallife wurde erfolgreich geladen...");
    }


    public OnGameModeInit()
    {
    mysql_connect(SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    SetGameModeText("German Reallife");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    mysql_close();
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    new query[126], pName[MAX_PLAYER_NAME];

    GetPlayerName(playerid, pName, sizeof(pName));

    format(query, sizeof(query), "SELECT * FROM account WHERE name = '%s'", pName);
    mysql_query(query);
    mysql_store_result();

    if(mysql_num_rows() == 1)
    {
    SendClientMessage(playerid, -1, "Der Spielername ist bereits vergeben!");
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "Login", "Bitte logge dich nun mit deinem Passwort ein!", "Login", "Abbrechen");
    }
    else
    {
    return SendClientMessage(playerid, -1, "Der Spielername ist noch nicht vergeben. Du kannst dich nun registrieren!");
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Registrieren", "Bitte wähle nun dein Passwort!", "Registrieren", "Abbrechen");
    }

    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    return 0;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnVehicleMod(playerid, vehicleid, componentid)
    {
    return 1;
    }


    public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
    {
    return 1;
    }


    public OnVehicleRespray(playerid, vehicleid, color1, color2)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
    {
    return 1;
    }


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    return 1;
    }


    public OnRconLoginAttempt(ip[], password[], success)
    {
    return 1;
    }


    public OnPlayerUpdate(playerid)
    {
    return 1;
    }


    public OnPlayerStreamIn(playerid, forplayerid)
    {
    return 1;
    }


    public OnPlayerStreamOut(playerid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamIn(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamOut(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    switch(dialogid)
    {
    case 0;
    {
    if(response)
    {
    new query[126], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));

    format(query), sizeof(query), "SELECT * FROM account WHERE name = '%s' AND password = '%s'", pName, inputtext);
    mysql_query(query);
    mysql_store_result();

    if(mysql_num_rows() == 1)
    {
    SendClientMessage(playerid, -1, "Du hast dich erfolgreich angemeldet.");
    SetSpawnInfo(playerid, 1, 299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    SpawnPlayer(playerid);
    }
    else
    }
    SendClientMessage(playerid, -1, "Falsches Passwort!");
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "Login", "Bitte logge dich nun mit deinem Passwort ein!", "Login", "Abbrechen");
    }
    }
    }
    case 1;
    {
    if(response)
    {
    new query[126];, pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));

    format(query, sizeof(query), "INSERT INTO account VALUES ('%s', '%s'), pName, inputtext);
    mysql_query(query);

    SendClientMessage(playerid, -1, "Du hast dir erfolgreich einen Account angelegt!");

    SetSpawnInfo(playerid, 1, 299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    SpawnPlayer(playerid);
    }
    }
    }
    return 1;
    }


    public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    return 1;
    }


    Errorcodes:
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(56) : warning 219: local variable "query" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(61) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(62) : error 017: undefined symbol "mysql_store_result"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(64) : error 017: undefined symbol "mysql_num_rows"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(72) : warning 225: unreachable code
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(242) : error 001: expected token: ":", but found ";"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(242) : error 036: empty statement
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(246) : warning 219: local variable "query" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 202: number of arguments does not match definition
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 202: number of arguments does not match definition
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : error 001: expected token: ";", but found ")"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(249) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(250) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(251) : error 017: undefined symbol "mysql_store_result"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(253) : error 017: undefined symbol "mysql_num_rows"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(260) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(261) : warning 217: loose indentation
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(265) : error 054: unmatched closing brace ("}")
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(266) : error 010: invalid function or declaration
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(268) : error 010: invalid function or declaration
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(270) : error 010: invalid function or declaration
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(273) : error 021: symbol already defined: "format"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(276) : error 021: symbol already defined: "SendClientMessage"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(278) : error 021: symbol already defined: "SetSpawnInfo"
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(283) : error 010: invalid function or declaration
    C:\Users\Admin\Desktop\Selfmade\gamemodes\Selfmade.pwn(290) : warning 203: symbol is never used: "query"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    19 Errors.