Hilfe komm nicht mehr weiter [Ich bin zu blöd meinem Thema einen aussagekräftigen Titel zu geben]

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
  • #include <a_samp>


    //-------------------------
    #define FARBE_GRAU 0xAFAFAFAA //grey
    #define FARBE_GRÜN 0x33AA33AA //green
    #define FARBE_ROT 0xAA3333AA //red
    #define FARBE_GELB 0xFFFF00AA //yellow
    #define FARBE_WEISS 0xFFFFFFAA //white
    #define FARBE_DUNKELBLAU 0x2641FEAA //darkblue
    #define FARBE_HELLBLAU 0x33CCFFAA //bright blue
    //-------------------------
    new derby_count;
    new IsDerbyAllowed;


    enum espawn
    {
    Float:ex,
    Float:ey,
    Float:ez,
    interior,
    vehicle,
    }


    new spawns[][espawn] = {
    {-1485.4844,1037.1923,1038.1127, 15, 504},
    {-1479.8419,1040.9438,1038.1693, 15, 504},
    {-1491.8146,1032.6804,1037.9775, 15, 504},
    {-1496.4209,1028.1976,1037.9799, 15, 504},
    {-1501.5582,1024.1018,1037.9232, 15, 504},
    {-1504.5629,1019.4431,1037.8496, 15, 504},
    {-1507.5671,1014.1100,1037.7434, 15, 504},
    {-1509.8252,1008.6966,1037.6832, 15, 504},
    {-1511.7245,1002.9764,1037.5858, 15, 504},
    {-1512.5612,997.1481,1037.4984, 15, 504},
    {-1512.1660,990.6923,1037.3927, 15, 504},
    {-1510.9679,982.6587,1037.2588, 15, 504},
    };


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }



    public OnGameModeInit()
    {
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    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 OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    new pName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s hat den Server betreten.", pName);
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    new pName[MAX_PLAYER_NAME], string[56];
    GetPlayerName(playerid, pName, sizeof(pName));
    switch(reason)
    {
    case 0: format(string, sizeof(string), "%s hat den Server verlassen. (Error)", pName);
    case 1: format(string, sizeof(string), "%s hat den Server verlassen. (Ausgeloggt)", pName);
    case 2: format(string, sizeof(string), "%s hat den Server verlassen. (Kick/Ban)", pName);
    }
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(killerid == INVALID_PLAYER_ID) {

    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
    }
    return 1;


    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


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


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


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    new string[256];
    new cmd[256];
    new idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmdtext, "/derbyopen", true) == 0) {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 1;
    GameTextForAll("~r~Derby Stadion ~n~~n~~r~ist Ab Jetz Geöffnet",3000,6);
    }
    return 1;
    }


    if(strcmp(cmd, "/derby", true) == 0) {
    if(IsDerbyAllowed == 1)
    {
    new pname[256];
    if(derby_count == 12) return 1;
    derby_count++;
    SetPlayerPos(playerid, spawns[ex], spawns[ey], spawns[ez]);
    SetPlayerInterior(playerid, spawns[interior]);
    PutPlayerInVehicle(playerid, spawns[vehicle], 0);
    GetPlayerName(playerid, pname, 256);
    format(string, sizeof(string), "%s Hat das Derby Stadion Betreten", pname);
    SendClientMessageToAll(FARBE_GELB, string);
    ResetPlayerWeapons(playerid);
    SendClientMessage(playerid, FARBE_HELLBLAU, "Zum Verlassen gib /leave ein!");
    }else{
    if(IsDerbyAllowed == 0)
    SendClientMessage(playerid, FARBE_ROT, "Das Derby Stadion ist Geschlossen");
    }
    return 1;
    }


    if(strcmp(cmd, "/derbyclose", true) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 0;
    GameTextForAll("~r~Derby Stadion~n~~n~~r~ist Jetz Geschlossen",3000,6);
    }
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    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 OnObjectMoved(objectid)
    {
    return 1;
    }


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


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


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


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


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(37) : error 029: invalid expression, assumed zero
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(37) : error 008: must be a constant expression; assumed zero
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(152) : error 035: argument type mismatch (argument 2)
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(153) : error 035: argument type mismatch (argument 2)
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(154) : error 035: argument type mismatch (argument 2)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.


    Es wird niemals so viel gelogen wie vor der Wahl, während des Krieges und nach der Jagd.

    - Otto von Bismarck
    -

  • 1. Bitte nächstes mal nur die Zeilenabschnitte verwenden, denn das gescrolle nervt...


    2. in Zeile 36 das "," am Ende entfernen.


    3.
    SetPlayerPos(playerid, spawns[ex], spawns[ey], spawns[ez]);
    new spawns[][espawn] = {
    {CODE}
    };


    Das "spawns" ist ein Arry, am besten merkst du es dir so:
    new spawns[ZEILE][SPALTE]
    Nun gibst du nur an "spawns[X-Spalte]" - als Beispiel. Woher soll das Script wissen welche Zeile?
    Daher spawns[4][ex] zB.


    Random Variante:
    new rand = random(sizeof(spawns)); -> Random der größe des ersten Indexes ( sprich erste eckige Klammer ). Wolltest du das 2. : new rand = random(sizeof(spawns[]));
    spawns[rand][ex],spawns[rand][ey],....


    Hoffe es klappt :)

  • Das ist ja Derby aber es darf ja nur einer an einer Position spawnen und der Spieler muss in den Waagen gezogen werden. Wie geht das denn? Kannst du mein Beispiel benutzen und mir was schreiben?


    Es wird niemals so viel gelogen wie vor der Wahl, während des Krieges und nach der Jagd.

    - Otto von Bismarck
    -

  • Ich erkläre es dir, den Rest musst du selber machen:


    Dann mach folgendes (baut auf den eben gennanten "Grundkenntnissen" auf):



    // Oben
    new belegt;


    // im Command
    SetPlayerPos(playerid,spawns[belegt][x],spawns[belegt][y],spawns[belegt][z]);
    belegt++;


    // Wir wissen ja bereits, dass die erste "[ ]" die ZEILE angibt und die zweite "[ ]" die einzelnen Spalten.
    // Am Anfang ist "belegt" 0. D.h. er setzt den User auf die Koords der Zeile 0. Nun addieren wir 1 dazu.
    // D.h. beim 2. Durchgang (wenn jemand wieder /derby macht) wird es auf 1 sein. Daher wird er auf die Koords der Zeile 1 gesetzt.



    http://wiki.sa-mp.com/wiki/PutPlayerInVehicle


    Bsp:

    public OnPlayerEnterVehicle(playerid,vehicleid,ispassanger)
    {
    PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
    }

  • Habe jetzt fast alles fertig!nur noch ein Error:
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(36) : error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    #include <a_samp>


    //-------------------------
    #define FARBE_GRAU 0xAFAFAFAA //grey
    #define FARBE_GRÜN 0x33AA33AA //green
    #define FARBE_ROT 0xAA3333AA //red
    #define FARBE_GELB 0xFFFF00AA //yellow
    #define FARBE_WEISS 0xFFFFFFAA //white
    #define FARBE_DUNKELBLAU 0x2641FEAA //darkblue
    #define FARBE_HELLBLAU 0x33CCFFAA //bright blue
    //-------------------------
    new derby_count;
    new IsDerbyAllowed;
    new belegt;
    enum espawn
    {
    Float:ex,
    Float:ey,
    Float:ez,
    interior,
    vehicle,
    }


    new spawns[][espawn] = {
    {-1485.4844,1037.1923,1038.1127, 15, 504},
    {-1479.8419,1040.9438,1038.1693, 15, 504},
    {-1491.8146,1032.6804,1037.9775, 15, 504},
    {-1496.4209,1028.1976,1037.9799, 15, 504},
    {-1501.5582,1024.1018,1037.9232, 15, 504},
    {-1504.5629,1019.4431,1037.8496, 15, 504},
    {-1507.5671,1014.1100,1037.7434, 15, 504},
    {-1509.8252,1008.6966,1037.6832, 15, 504},
    {-1511.7245,1002.9764,1037.5858, 15, 504},
    {-1512.5612,997.1481,1037.4984, 15, 504},
    {-1512.1660,990.6923,1037.3927, 15, 504},
    {-1510.9679,982.6587,1037.2588, 15, 504},,
    };


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }



    public OnGameModeInit()
    {
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    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 OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    new pName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s hat den Server betreten.", pName);
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    new pName[MAX_PLAYER_NAME], string[56];
    GetPlayerName(playerid, pName, sizeof(pName));
    switch(reason)
    {
    case 0: format(string, sizeof(string), "%s hat den Server verlassen. (Error)", pName);
    case 1: format(string, sizeof(string), "%s hat den Server verlassen. (Ausgeloggt)", pName);
    case 2: format(string, sizeof(string), "%s hat den Server verlassen. (Kick/Ban)", pName);
    }
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(killerid == INVALID_PLAYER_ID) {

    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
    }
    return 1;


    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


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


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


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    new string[256];
    new cmd[256];
    new idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmdtext, "/derbyopen", true) == 0) {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 1;
    GameTextForAll("~r~Derby Stadion ~n~~n~~r~ist Ab Jetz Geöffnet",3000,6);
    }
    return 1;
    }


    if(strcmp(cmd, "/derby", true) == 0) {
    if(IsDerbyAllowed == 1)
    {
    new pname[256];
    if(derby_count == 12) return 1;
    derby_count++;
    SetPlayerPos(playerid,spawns[belegt][ex],spawns[belegt][ey],spawns[belegt][ez]);
    belegt++;
    SetPlayerInterior(playerid, spawns[4][interior]);
    PutPlayerInVehicle(playerid, spawns[5][vehicle], 0);
    GetPlayerName(playerid, pname, 256);
    format(string, sizeof(string), "%s Hat das Derby Stadion Betreten", pname);
    SendClientMessageToAll(FARBE_GELB, string);
    ResetPlayerWeapons(playerid);
    SendClientMessage(playerid, FARBE_HELLBLAU, "Zum Verlassen gib /leave ein!");
    }else{
    if(IsDerbyAllowed == 0)
    SendClientMessage(playerid, FARBE_ROT, "Das Derby Stadion ist Geschlossen");
    }
    return 1;
    }


    if(strcmp(cmd, "/derbyclose", true) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 0;
    GameTextForAll("~r~Derby Stadion~n~~n~~r~ist Jetz Geschlossen",3000,6);
    }
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    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 OnObjectMoved(objectid)
    {
    return 1;
    }


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


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


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


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


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    Es wird niemals so viel gelogen wie vor der Wahl, während des Krieges und nach der Jagd.

    - Otto von Bismarck
    -

    Einmal editiert, zuletzt von DominikGLL ()

  • #include <a_samp>
    #include <a_npc>


    //-------------------------
    #define FARBE_GRAU 0xAFAFAFAA //grey
    #define FARBE_GRÜN 0x33AA33AA //green
    #define FARBE_ROT 0xAA3333AA //red
    #define FARBE_GELB 0xFFFF00AA //yellow
    #define FARBE_WEISS 0xFFFFFFAA //white
    #define FARBE_DUNKELBLAU 0x2641FEAA //darkblue
    #define FARBE_HELLBLAU 0x33CCFFAA //bright blue
    //-------------------------
    new derby_count;
    new IsDerbyAllowed;
    new belegt;
    enum espawn
    {
    Float:ex,
    Float:ey,
    Float:ez,
    interior,
    vehicle,
    }


    new spawns[][espawn] = {
    {-1485.4844,1037.1923,1038.1127, 15, 504},
    {-1479.8419,1040.9438,1038.1693, 15, 504},
    {-1491.8146,1032.6804,1037.9775, 15, 504},
    {-1496.4209,1028.1976,1037.9799, 15, 504},
    {-1501.5582,1024.1018,1037.9232, 15, 504},
    {-1504.5629,1019.4431,1037.8496, 15, 504},
    {-1507.5671,1014.1100,1037.7434, 15, 504},
    {-1509.8252,1008.6966,1037.6832, 15, 504},
    {-1511.7245,1002.9764,1037.5858, 15, 504},
    {-1512.5612,997.1481,1037.4984, 15, 504},
    {-1512.1660,990.6923,1037.3927, 15, 504},
    {-1510.9679,982.6587,1037.2588, 15, 504}
    };


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }



    public OnGameModeInit()
    {
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    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 OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    new pName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s hat den Server betreten.", pName);
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    new pName[MAX_PLAYER_NAME], string[56];
    GetPlayerName(playerid, pName, sizeof(pName));
    switch(reason)
    {
    case 0: format(string, sizeof(string), "%s hat den Server verlassen. (Error)", pName);
    case 1: format(string, sizeof(string), "%s hat den Server verlassen. (Ausgeloggt)", pName);
    case 2: format(string, sizeof(string), "%s hat den Server verlassen. (Kick/Ban)", pName);
    }
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(killerid == INVALID_PLAYER_ID) {

    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
    }
    return 1;


    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


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


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


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    new string[256];
    new cmd[256];
    new idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmdtext, "/derbyopen", true) == 0) {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 1;
    GameTextForAll("~r~Derby Stadion ~n~~n~~r~ist Ab Jetz Geöffnet",3000,6);
    }
    return 1;
    }


    if(strcmp(cmd, "/derby", true) == 0) {
    if(IsDerbyAllowed == 1)
    {
    new pname[256];
    if(derby_count == 12) return 1;
    derby_count++;
    SetPlayerPos(playerid,spawns[belegt][ex],spawns[belegt][ey],spawns[belegt][ez]);
    belegt++;
    SetPlayerInterior(playerid, spawns[4][interior]);
    new bla = CreateVehicle(spawns[belegt][vehicle], spawns[belegt][ex],spawns[belegt][ey],spawns[belegt][ez]);
    belegt++;
    PutPlayerInVehicle(playerid,bla);
    GetPlayerName(playerid, pname, 256);
    format(string, sizeof(string), "%s Hat das Derby Stadion Betreten", pname);
    SendClientMessageToAll(FARBE_GELB, string);
    ResetPlayerWeapons(playerid);
    SendClientMessage(playerid, FARBE_HELLBLAU, "Zum Verlassen gib /leave ein!");
    }else{
    if(IsDerbyAllowed == 0)
    SendClientMessage(playerid, FARBE_ROT, "Das Derby Stadion ist Geschlossen");
    }
    return 1;
    }


    if(strcmp(cmd, "/derbyclose", true) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    IsDerbyAllowed = 0;
    GameTextForAll("~r~Derby Stadion~n~~n~~r~ist Jetz Geschlossen",3000,6);
    }
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    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 OnObjectMoved(objectid)
    {
    return 1;
    }


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


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


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


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


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }

    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(156) : warning 202: number of arguments does not match definition
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(156) : warning 202: number of arguments does not match definition
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(156) : warning 202: number of arguments does not match definition
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(156) : warning 202: number of arguments does not match definition
    C:\Users\Dominik\Desktop\Recon\razorsfreeroam\tt.pwn(158) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Warnings.


    Es wird niemals so viel gelogen wie vor der Wahl, während des Krieges und nach der Jagd.

    - Otto von Bismarck
    -