Beiträge von LoLi

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums

    Wieso empty?
    ERROR:
    [.....]FILTER~1\XTREME~1.PWN(171) : error 036: empty statement
    Und die Reihe 171:
    if(Variables[playerid][Jailed] && Config[DisableJailCommands])return SendClientMessage(playerid,red,"You can NOT use any commands whilst you are jailed.");;

    Hast du Fehler beim erstellen des Script also Compilen, weil da passt schon das else wieder nicht, dazu bräuchtest du eine if abfrage 8|

    WTF?
    Compilen?
    Daran hab ich nich gedacht!
    Natürlich hab ich errors ;)
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1183) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1188) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1197) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1200) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1201) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1237) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1239) : error 021: symbol already defined: "dini_Create"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1240) : error 021: symbol already defined: "dini_IntSet"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1244) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1254) : error 021: symbol already defined: "ShowPlayerMarkers"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1266) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1267) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1274) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1286) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1291) : error 021: symbol already defined: "gettime"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1293) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1297) : error 021: symbol already defined: "SetTimer"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(1306) : error 010: invalid function or declaration
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(15259) : warning 219: local variable "tmphour" shadows a variable at a preceding level
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(15260) : warning 219: local variable "tmpminute" shadows a variable at a preceding level
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(15261) : warning 219: local variable "tmpsecond" shadows a variable at a preceding level
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16187) : warning 225: unreachable code
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16187) : warning 217: loose indentation
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16195) : warning 209: function "IsABike" should return a value
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16745) : warning 203: symbol is never used: "sendcmd"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16745) : warning 203: symbol is never used: "tmphour"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16745) : warning 203: symbol is never used: "tmpminute"
    C:\DOKUME~1\Admin\Desktop\GTASAN~1\GAMEMO~1\crp.pwn(16745) : warning 203: symbol is never used: "tmpsecond"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    18 Errors.

    ;( ;( ;( ;( ;( :huh:

    if (!strcmp("Yes", GAMEMODE_USE_VERSION, true)) { printf("> Gamemode: %s - %s", GAMEMODE,VERSION); } else { printf("> Gamemode: %s", GAMEMODE); } // Checking the "GAMEMODE_USE_VERSION" define, if "Yes" then set the gamemode text to the gamemode name & version, else set it to just the gamemode name.
    printf("> Version: %s", VERSION);
    printf("> Map: %s", MAP_NAME);
    printf("> Website: %s", WEBSITE);
    printf("> Developer: %s", DEVELOPER);
    printf("> Last Update: %s", LAST_UPDATE);
    printf("> Current Script Lines: %d", SCRIPT_LINES);
    printf("> Password: %s", ShowServerPassword());
    print("_________________________________________________________________________");
    }



    public OnGameModeInit()
    {
    CreateObject(983,1047.478,-1606.018,20.064,0.0,0.0,0.0);
    CreateObject(983,1046.728,-1612.268,20.064,0.0,-0.859,-13.751);
    CreateObject(983,1045.978,-1617.268,20.064,0.0,-2.578,-5.157);
    CreateObject(983,1046.478,-1623.393,20.064,0.0,-2.578,13.751);
    CreateObject(983,1047.778,-1629.544,20.064,0.0,-0.859,10.313);
    CreateObject(983,1048.678,-1634.844,20.064,0.0,-0.859,10.313);
    CreateObject(3749,1043.895,-1617.573,18.407,0.0,0.0,-90.000);
    CreateObject(4100,1031.724,-1585.130,14.249,0.0,0.0,-39.766);
    CreateObject(4100,1039.974,-1585.130,14.249,0.0,0.0,-39.766);
    Oben


    public OnGameModeInit()
    {
    CreateObject(983,1047.478,-1606.018,20.064,0.0,0.0,0.0);
    CreateObject(983,1046.728,-1612.268,20.064,0.0,-0.859,-13.751);
    CreateObject(983,1045.978,-1617.268,20.064,0.0,-2.578,-5.157);
    CreateObject(983,1046.478,-1623.393,20.064,0.0,-2.578,13.751);
    CreateObject(983,1047.778,-1629.544,20.064,0.0,-0.859,10.313);
    CreateObject(983,1048.678,-1634.844,20.064,0.0,-0.859,10.313);
    CreateObject(3749,1043.895,-1617.573,18.407,0.0,0.0,-90.000);
    CreateObject(4100,1031.724,-1585.130,14.249,0.0,0.0,-39.766);
    CreateObject(4100,1039.974,-1585.130,14.249,0.0,0.0,-39.766);
    CreateObject(4100,1039.128,-1660.706,14.249,0.0,0.0,-39.843);
    CreateObject(4100,1030.628,-1660.706,14.249,0.0,0.0,-39.843);
    CreateObject(4100,1139.832,-1611.431,14.652,0.0,0.0,50.157);
    CreateObject(4100,1139.832,-1625.931,14.652,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1607.293,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1621.043,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1634.543,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1647.793,19.253,0.0,0.0,50.157);
    CreateObject(4100,1130.356,-1654.043,19.253,0.0,0.0,-46.960);
    CreateObject(1444,1049.263,-1608.616,20.269,0.0,0.0,-146.250);
    CreateObject(2789,1047.548,-1615.979,22.713,13.751,0.0,92.819);
    CreateObject(3467,1049.998,-1623.073,20.171,0.0,0.0,180.000);
    CreateObject(3715,1037.733,-1585.055,20.454,0.0,0.0,0.0);
    CreateObject(7597,1050.545,-1634.629,28.993,0.0,0.0,0.0);
    CreateObject(8548,1037.477,-1584.331,13.601,0.0,0.0,180.000);
    CreateObject(9528,1049.062,-1600.379,21.442,0.0,0.0,0.0);
    CreateObject(2430,1069.116,-1635.646,22.628,0.0,0.0,180.000);
    CreateObject(16151,1066.287,-1635.330,19.890,0.0,0.0,270.000);
    CreateObject(2778,1061.854,-1635.536,19.491,0.0,0.0,180.000);
    CreateObject(1523,1062.993,-1636.039,19.546,0.0,0.0,0.0);
    CreateObject(1514,1069.586,-1635.394,20.780,0.0,0.0,90.000);
    CreateObject(2500,1069.709,-1634.990,20.512,0.0,0.0,270.000);
    CreateObject(14657,1063.101,-1618.888,20.323,0.0,0.0,0.0);
    CreateObject(14657,1063.101,-1618.888,20.323,0.0,0.0,-91.100);
    CreateObject(3515,1061.968,-1620.120,21.687,0.0,0.0,0.0);
    }
    else
    {
    dini_Create("CRP_Scriptfiles/Other/JoinCounter.cfg");
    dini_IntSet("CRP_Scriptfiles/Other/JoinCounter.cfg", "Connections", 0);
    print("file \"CRP_Scriptfiles/Other/JoinCounter.cfg\" created with JoinCounter variable (0 visitors)");
    }

    Wo genau einfügen, und was einfügen? (if?)

    public OnGameModeInit()
    {
    CreateObject(983,1047.478,-1606.018,20.064,0.0,0.0,0.0);
    CreateObject(983,1046.728,-1612.268,20.064,0.0,-0.859,-13.751);
    CreateObject(983,1045.978,-1617.268,20.064,0.0,-2.578,-5.157);
    CreateObject(983,1046.478,-1623.393,20.064,0.0,-2.578,13.751);
    CreateObject(983,1047.778,-1629.544,20.064,0.0,-0.859,10.313);
    CreateObject(983,1048.678,-1634.844,20.064,0.0,-0.859,10.313);
    CreateObject(3749,1043.895,-1617.573,18.407,0.0,0.0,-90.000);
    CreateObject(4100,1031.724,-1585.130,14.249,0.0,0.0,-39.766);
    CreateObject(4100,1039.974,-1585.130,14.249,0.0,0.0,-39.766);
    CreateObject(4100,1039.128,-1660.706,14.249,0.0,0.0,-39.843);
    CreateObject(4100,1030.628,-1660.706,14.249,0.0,0.0,-39.843);
    CreateObject(4100,1139.832,-1611.431,14.652,0.0,0.0,50.157);
    CreateObject(4100,1139.832,-1625.931,14.652,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1607.293,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1621.043,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1634.543,19.253,0.0,0.0,50.157);
    CreateObject(4100,1136.606,-1647.793,19.253,0.0,0.0,50.157);
    CreateObject(4100,1130.356,-1654.043,19.253,0.0,0.0,-46.960);
    CreateObject(1444,1049.263,-1608.616,20.269,0.0,0.0,-146.250);
    CreateObject(2789,1047.548,-1615.979,22.713,13.751,0.0,92.819);
    CreateObject(3467,1049.998,-1623.073,20.171,0.0,0.0,180.000);
    CreateObject(3715,1037.733,-1585.055,20.454,0.0,0.0,0.0);
    CreateObject(7597,1050.545,-1634.629,28.993,0.0,0.0,0.0);
    CreateObject(8548,1037.477,-1584.331,13.601,0.0,0.0,180.000);
    CreateObject(9528,1049.062,-1600.379,21.442,0.0,0.0,0.0);
    CreateObject(2430,1069.116,-1635.646,22.628,0.0,0.0,180.000);
    CreateObject(16151,1066.287,-1635.330,19.890,0.0,0.0,270.000);
    CreateObject(2778,1061.854,-1635.536,19.491,0.0,0.0,180.000);
    CreateObject(1523,1062.993,-1636.039,19.546,0.0,0.0,0.0);
    CreateObject(1514,1069.586,-1635.394,20.780,0.0,0.0,90.000);
    CreateObject(2500,1069.709,-1634.990,20.512,0.0,0.0,270.000);
    CreateObject(14657,1063.101,-1618.888,20.323,0.0,0.0,0.0);
    CreateObject(14657,1063.101,-1618.888,20.323,0.0,0.0,-91.100);
    CreateObject(3515,1061.968,-1620.120,21.687,0.0,0.0,0.0);
    }
    else
    {
    dini_Create("CRP_Scriptfiles/Other/JoinCounter.cfg");
    dini_IntSet("CRP_Scriptfiles/Other/JoinCounter.cfg", "Connections", 0);
    print("file \"CRP_Scriptfiles/Other/JoinCounter.cfg\" created with JoinCounter variable (0 visitors)");
    }
    Ich hab da sowas stehen, aber trotzdem funzts nicht :huh: 8| :pinch:

    Bisher verstanden:

    • Mappen
    • Convetieren

    Wie in SAMP einfügen, was im Script einfügen, wo Script speichern, wo Script aktivieren (Bandwurmsatz :D)

    Kann mir das jmd. beibringen?
    Die TUT`s nützen nix^^ Ich checks nicht.
    Debug funtzt auch nicht (kann keine Autos importieren)
    MTA Map Editor (MTA Race) funzt im Allgemeinen nicht, iwas mit dxdr3_.dll konnte nich gefunden werden....
    CHECK ICH NICH :huh: :S :wacko: :pinch:
    Und nochma: Kann mir das jmd. beibringen?

    Ja Hallo erstmal,
    Könnte mir jmd. ein Script basteln, indem:

    • ein CarSystem (mit /savecarpos , /buycar, /sellcar , /setowner
    • ein Spanwsystem (mit /savespawnpos [mit Berechtigung von Admins])
    • ein Tanksystem für Cars (mit /tanken)
    • einem gutem AdminSystem (generelle Cmds, + create Car)
    • und sonst was euch einfällt!

    Wenn das was kostet mach ich das nicht :thumbup: :huh: :S :D
    EDIT: Die Kursiv gedruckten sollten nicht unbedingt da sein, wäre aber gut...
    EDIT2: Mein GM ist so aufgebaut das man nix (von mir aus) einbauen kann....
    PS: GM habe ich vom I-Net