Beiträge von Eova933

    Guten Tag,


    ich bin dabei mir 2 Freunden ein Fun-Script/Fun-Server aufzubauen.
    Einige Funktionen haben wir schon geschrieben, wir wollten nun euch fragen, was ein Fun-Script haben sollte :D


    Freue mich auf Antworten :D


    Freundliche Grüße

    Ich besitze einen Windows-Server und bin der Meinung, dass ich alle Plugins habe...


    Normalerweise benötigt das SoL, ja nur den Streamer oder irre ich mich da?



    Freundliche Grüße

    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3e, (C)2005-2012 SA-MP Team


    [02:16:45] filterscripts = "" (string)
    [02:16:45]
    [02:16:45] Server Plugins
    [02:16:45] --------------
    [02:16:45] Loading plugin: streamer
    [02:16:45]


    *** Streamer Plugin v2.5.2 by Incognito loaded ***


    [02:16:45] Loaded.
    [02:16:45] Loading plugin: sscanf
    [02:16:45]


    [02:16:45] ===============================


    [02:16:45] sscanf plugin loaded.


    [02:16:45] (c) 2009 Alex "Y_Less" Cole


    [02:16:45] ===============================


    [02:16:45] Loaded.
    [02:16:45] Loading plugin: audio
    [02:16:45]


    *** Audio Plugin v0.4 by Incognito loaded ***



    [02:16:45] Loaded.
    [02:16:45] Loaded 3 plugins.


    [02:16:46]
    [02:16:46] Ban list
    [02:16:46] --------
    [02:16:46] Loaded: samp.ban
    [02:16:46]
    [02:16:46]
    [02:16:46] Filterscripts
    [02:16:46] ---------------
    [02:16:46] Loaded 0 filterscripts.


    [02:16:46] Script[gamemodes/abc.amx]: Run time error 19: "File or function is not found"
    [02:16:46] Number of vehicle models: 0



    Folgende Error´s sind im Script (empfalls es was mit den Errorn zutun hat:
    C:\Users\Benutzer\Desktop\SoL Script + Streamer\SoL Script\gamemodes\abc.pwn(17282) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Benutzer\Desktop\SoL Script + Streamer\SoL Script\gamemodes\abc.pwn(17290) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Benutzer\Desktop\SoL Script + Streamer\SoL Script\gamemodes\abc.pwn(24926) : warning 219: local variable "mod" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13208 bytes
    Code size: 2779364 bytes
    Data size: 6016628 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 8841968 bytes


    3 Warnings.


    Zeile 17282:



    new string[10];
    new kenzeichenzahl = 100 + random(999);
    format(string,sizeof(string),"PD-%d",kenzeichenzahl);
    SetVehicleNumberPlate(PolizeiVehs[pv], string);
    SetVehicleToRespawn(PolizeiVehs[pv]);
    }


    Zeile 17290:




    new string[10];
    new kenzeichenzahl = 100 + random(999);
    format(string,sizeof(string),"FD-%d",kenzeichenzahl);
    SetVehicleNumberPlate(FeuerVehs[pv], string);
    SetVehicleToRespawn(FeuerVehs[pv]);
    }


    Zeile 24926:




    new mod = 100;
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))



    Weiß jemand wieso der Runtime Error kommt?


    Benutze das SoL Script..



    Grüße

    C:\Users\Marius\Desktop\SoL Script + Streamer\SoL Script\gamemodes\jaman.pwn(17282) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Marius\Desktop\SoL Script + Streamer\SoL Script\gamemodes\jaman.pwn(17290) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Marius\Desktop\SoL Script + Streamer\SoL Script\gamemodes\jaman.pwn(24926) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\Marius\Desktop\SoL Script + Streamer\SoL Script\gamemodes\jaman.pwn(40713) : error 017: undefined symbol "AntiDeAMX"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    habs schon mit folgendem versucht:



    Unter OnGameModeInit
    AntiDeAMX();


    Und ans ende:


    AntiDeAMX()
    {
    new a[][] =
    {
    "Unarmed (Fist)",
    "Brass K"
    };
    #pragma unused a
    }



    Dann steht da was mit Pawn Library funktionert nicht mehr und Pawno kackt ab... -.-


    Wie mache ich das jetzt?


    Grüße