Nach FS aktivierung keine Befehle mehr möglich.

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
  • Hallo Community!
    Ich betreibe seid kurzem mit paar Kollegen einen Reallife-Server (ich weiß nicht ob das als Server-Werbung zählt)
    "www.GTA-Secondlife.de" , doch sobald ich einen FS lade (/rcon loadfs [FSname] ) gehen keine Befehle
    mehr (Admin und Zivi befehle) f.e: /veh [carid] [farbe][farbe]
    Ich bitte um Rat denn es wäre sehr schön wenn ich meine selbst gemappte Stadthalle testen kann! :)


    Ich würde mich sehr über eine Antwort freuen!



    MfG
    Nevco

  • Bereits alles gelöscht!


    MfG
    Sohrab


    @starmaster


    Danke :D



    //Edit

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmd,"/villa", true) == 0)
    {
    MoveObject(VillaTor,1114.59997559,-861.20001221,41.799999237061,3);
    SetTimer("CloseVillaTor", 5000, 0);
    SendClientMessage(playerid, COLOR_GREEN,"Buttler:Ihr Fahrstuhl fährt nun herunter.");
    return 1;
    }
    return 0;

  • hm? ich finde da passt gar nix ? :D


    //Edit


    Also bei mir geht's net :SS


    Das ist jetzt so ne Villa von jmd der es in Breadfish released hat, warum geht das net? BZW warum werden die befehle deaktiviert?


    MfG
    #include <a_samp>
    forward CloseVillaTor();
    new VillaTor;
    // This is a comment
    // uncomment the line below if you want to write a filterscript
    #define FILTERSCRIPT


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


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


    #endif


    public OnGameModeInit()
    {
    VillaTor = CreateObject(3115,1114.59997559,-861.20001221,56.88000107,0.00000000,0.00000000,90.00000000); //object(carrier_lift1_sfse) (1)


    AddStaticVehicleEx(411,1125.50000000,-876.00000000,58.00000000,90.00000000,-1,-1,15); //Infernus
    AddStaticVehicleEx(411,1125.50000000,-881.50000000,58.00000000,90.00000000,-1,-1,15); //Infernus
    AddStaticVehicleEx(400,1093.90002441,-887.70001221,58.29999924,270.00000000,-1,1,15); //Landstalker
    AddStaticVehicleEx(400,1093.90002441,-881.79998779,58.29999924,270.00000000,-1,1,15); //Landstalker
    AddStaticVehicleEx(409,1133.19995117,-887.79998779,58.09999847,90.00000000,1,1,15); //Stretch
    AddStaticVehicleEx(487,1110.19995117,-904.50000000,70.30000305,90.00000000,1,1,15); //Maverick
    CreateObject(3605,1110.59997559,-904.59997559,63.29999924,0.00000000,0.00000000,180.00000000); //object(bevman3_law2) (1)
    CreateObject(3604,1086.30004883,-884.70001221,59.70000076,0.00000000,0.00000000,90.00000000); //object(bevmangar_law2) (1)
    CreateObject(3604,1133.30004883,-878.90002441,59.70000076,0.00000000,0.00000000,270.00000000); //object(bevmangar_law2) (2)
    CreateObject(16000,1100.19995117,-904.59997559,69.00000000,90.00000000,0.00000000,90.00000000); //object(drvin_screen) (1)
    CreateObject(16000,1121.09997559,-904.59997559,69.00000000,90.00000000,0.00000000,270.00000000); //object(drvin_screen) (2)
    CreateObject(3934,1110.19995117,-904.50000000,69.00000000,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
    CreateObject(8572,1122.00000000,-901.00000000,67.69999695,0.00000000,0.00000000,90.00000000); //object(vgssstairs02_lvs) (1)
    CreateObject(13749,1097.50000000,-884.00000000,62.20000076,0.00000000,0.00000000,233.99780273); //object(cunte_curvesteps1) (2)
    CreateObject(8674,1100.09997559,-871.70001221,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (1)
    CreateObject(8674,1089.80004883,-871.70001221,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (2)
    CreateObject(8674,1087.19995117,-871.70001221,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (3)
    CreateObject(8674,1082.00000000,-876.79998779,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (4)
    CreateObject(8674,1129.09997559,-871.70001221,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (5)
    CreateObject(8674,1081.50000000,-894.50000000,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (6)
    CreateObject(8674,1081.50000000,-904.70001221,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (7)
    CreateObject(8674,1081.50000000,-915.00000000,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (8)
    CreateObject(8674,1081.50000000,-919.40002441,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (9)
    CreateObject(8674,1138.09997559,-890.50000000,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (10)
    CreateObject(8674,1138.09997559,-900.79998779,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (11)
    CreateObject(8674,1138.09997559,-911.09997559,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (12)
    CreateObject(8674,1138.09997559,-919.29998779,58.70000076,0.00000000,0.00000000,90.00000000); //object(csrsfence02_lvs) (13)
    CreateObject(8674,1086.69995117,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (14)
    CreateObject(8674,1097.00000000,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (15)
    CreateObject(8674,1107.19995117,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (16)
    CreateObject(8674,1117.59997559,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (17)
    CreateObject(8674,1132.90002441,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (18)
    CreateObject(8674,1125.30004883,-924.59997559,58.70000076,0.00000000,0.00000000,0.00000000); //object(csrsfence02_lvs) (19)
    }


    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)
    {
    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 OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmd,"/villa", true) == 0)
    {
    MoveObject(VillaTor,1114.59997559,-861.20001221,41.799999237061,3);
    SetTimer("CloseVillaTor", 5000, 0);
    SendClientMessage(playerid, COLOR_GREEN,"Buttler:Ihr Fahrstuhl fährt nun herunter.");
    return 1;
    }
    return 0;
    }
    public CloseVillaTor()
    {
    MoveObject(VillaTor,1114.59997559,-861.20001221,56.88000107,3);
    for(new i=0; i<GetMaxPlayers(); i++)
    {
    if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,15.0,1114.59997559,-861.20001221,49.799999237061))
    {
    PlaySoundForPlayer(i,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",i,1036);
    }
    }
    return 1;


    }


    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;
    }


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


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


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


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }



    Das auch nicht :((


    http://pastebin.com/pXG1uyJF

    2 Mal editiert, zuletzt von Fipsi. ()