Beiträge von Akman

    public OnPlayerSpawn(playerid)
    {
    StopAudioStreamForPlayer(playerid);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 0);
    SetPlayerColor(playerid, COLOR_WHITE);
    if(Spieler[playerid][Team] == 7)
    { das? :D xD

    Danke hast mir sehr geholfen.. Script startet nun.. <3 aber ich habe immernoch ein problem.. :S


    Also ich Starte "samp-server" und da steht net mehr "Run time error 19" sondern :


    "[MYSQL]Verbingdung zur Datenbank wurde erfolgreich hergestellt!
    Loaded Gamemode: Reallife - Deutschland
    NUmber of vehicle mordels: 55"


    So und wenn ich aufm Server joine steht da "Connectet- Join in the Server" und da bleibt es stehen.. "Samp-Server ( <- das hier)" geht automatik zu..

    Hallo liebe comunity,


    ich habe hier plugin fehlers..



    und brauche diese Plugins "SA:MP MySQL Plugin
    Version: 2.1.1


    Now Linux Stable!


    Latest Release: 2.1.1 Build-165
    "


    Für die Includes " #include <a_samp>
    #include <a_mysql>
    #include <Dini>
    #include <ocmd>
    #include <streamer>
    #include <sscanf2>"


    Bitte um hilfe..


    ^ wenn ihr da oben fehler sieht bitte reinschreiben.


    Danke in voraus!


    Grüsse
    akman

    Guten tag liebe breadfish,


    ich habe hier einen script und wollte es auf Windows starten..
    Doch wenn ich es starten will bekomme ich so einen Error:



    kann mir da jemand behilflich sein?


    Danke in voraus.


    Viele grüsse
    akman

    7 Errors..


    Hier die errors: C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1193) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1653) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1681) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1709) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1731) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1826) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(1848) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2005) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2032) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2070) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2093) : warning 219: local variable "f" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2958) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2960) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2961) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\pawno\include\JunkBuster.inc(2962) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(1109) : error 017: undefined symbol "BLITZER_TIMER_INTERVALL"
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(10439) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(10469) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(11510) : error 017: undefined symbol "AddBlitzer"
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(11516) : error 017: undefined symbol "RemoveBlitzer"
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(11522) : error 017: undefined symbol "RemoveAllBlitzer"
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(19259) : error 021: symbol already defined: "strtok"
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(19274) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Admin\Desktop\GTA\Korsan-Clan\gamemodes\visualreallife.pwn(21027) : error 021: symbol already defined: "isNumeric"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.


    Kann mir vielleicht jemand per Teamviewer helfen? Wenn ja schick ich euch mit PN mein IP und pw..


    Grüsse
    Akman

    Nein geht auch net mit " ; ":D



    new i;
    for(i=0; i<sizeof(Kaufliste); i++)
    {
    Kaufliste[i][Carid]=CreateVehicle(Kaufliste[i][Modelid],Kaufliste[i][CarPos_x],Kaufliste[i][CarPos_y],Kaufliste[i][CarPos_z],Kaufliste[i][CarRotate],-1,-1,-1);
    }
    for(i=0; i<MAX_PLAYERS; i++)
    {
    Spectating[i][0]=-1;
    ImShamalInterior[i] = 0;
    ShamalID[i] = -1;
    }
    ///////////////////
    {
    new length = strlen(string);
    while (index < length)&&(string[index] <='')) <-- zeile 15927
    {
    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;
    }
    //----------------

    geht immernochnet :S


    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 001: expected token: ";", but found ")"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : fatal error 107: too many error messages on one line


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



    4 Errors.


    ;(

    @GôLdJûNg€: ne dann bekomme ich wieder 26 errors..



    Nein mit semikolon geht es auch net.. immernoch 4 Errors..


    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : fatal error 107: too many error messages on one line


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



    4 Errors.

    Boa danke hast ne menge geholfen^^Du bist she gut und nett ;)
    Aber habe immernoch 4 Errors.. :S


    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : error 029: invalid expression, assumed zero
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15927) : fatal error 107: too many error messages on one line


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



    4 Errors.


    Hier hier die zeile 15927:


    new length = strlen(string);
    while ((index < length) && (string[index] <= ' ')) <-- Zeile 15927
    {
    index++;
    }


    ..

    Nein das hatte ich net.. habe es grad gemacht aber hab immernoch die Errors hier;


    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15926) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15928) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15928) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15931) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15933) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15935) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15936) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15936) : warning 215: expression has no effect
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15938) : error 017: undefined symbol "index"
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15939) : error 090: public functions may not return arrays (symbol "OnGameModeInit")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(15949) : warning 225: unreachable code
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(17123) : error 079: inconsistent return types (array & non-array)
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20096) : error 033: array must be indexed (variable "cmd")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20340) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20784) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20949) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20961) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(20973) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21030) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21181) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21191) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21213) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21248) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(21256) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(22404) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(23040) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(23107) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(23171) : error 033: array must be indexed (variable "tmp")
    C:\Users\Admin\Desktop\GTA\scripts\Script\gamemodes\Real-Roleplay2.pwn(23230) : error 033: array must be indexed (variable "tmp")


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



    26 Errors.