Beiträge von MysteriX

    Hi habe viele errors als ich Obejecte weg machen wollte...


    Hier die Pawno Zeilen:


    RemoveBuildingForPlayer(playerid,3769, 1961.4453, -2216.1719, 14.9844, 0.25);
    RemoveBuildingForPlayer(playerid,3744, 2061.5313, -2209.8125, 14.9766, 0.25);
    RemoveBuildingForPlayer(playerid,3744, 2082.4063, -2269.6563, 14.9609, 0.25);
    RemoveBuildingForPlayer(playerid,3664, 1960.6953, -2236.4297, 19.2813, 0.25);
    RemoveBuildingForPlayer(playerid,1308, 2057.5391, -2270.0703, 12.7500, 0.25);
    RemoveBuildingForPlayer(playerid,3574, 2082.4063, -2269.6563, 14.9609, 0.25);
    RemoveBuildingForPlayer(playerid,1308, 2089.7813, -2244.4922, 12.7500, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1949.3438, -2227.5156, 13.6563, 0.25);
    RemoveBuildingForPlayer(playerid,412, 1944.0625, -2227.5156, 13.6563, 0.25);
    RemoveBuildingForPlayer(playerid,1290, 1951.0313, -2207.7031, 18.4219, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1954.6172, -2227.4844, 13.6875, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1965.1719, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1959.8984, -2227.4453, 13.7266, 0.25);
    RemoveBuildingForPlayer(playerid,3625, 1961.4453, -2216.1719, 14.9844, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1975.7266, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1970.4453, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1290, 1979.6797, -2207.8438, 18.4219, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1981.0000, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1996.8281, -2227.3828, 13.7891, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1991.5547, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 1986.2813, -2227.4141, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 2002.1094, -2227.3438, 13.8281, 0.25);
    RemoveBuildingForPlayer(playerid,1308, 2018.0313, -2224.1641, 12.7500, 0.25);
    RemoveBuildingForPlayer(playerid,1290, 2010.3984, -2207.6172, 18.4219, 0.25);
    RemoveBuildingForPlayer(playerid,1290, 2042.4766, -2207.7031, 18.4219, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 2054.9219, -2208.4609, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,1412, 2054.9219, -2203.1875, 13.7578, 0.25);
    RemoveBuildingForPlayer(playerid,3574, 2061.5313, -2209.8125, 14.9766, 0.25);
    RemoveBuildingForPlayer(playerid,1226, 1957.3906, -2176.7109, 16.3438, 0.25);



    Hier die Fehlercodes:



    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10538) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10539) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10540) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10541) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10542) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10543) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10544) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10545) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10546) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10547) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10548) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10549) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10550) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10551) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10552) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10553) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10554) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10555) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10556) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10557) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10558) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10559) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10560) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10561) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10562) : error 017: undefined symbol "playerid"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(10563) : error 017: undefined symbol "playerid"


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



    26 Errors.



    Hoffe auf eine schnelle antwort

    i-wie geht das immernoch nicht


    Kann mal einer mein Befehl durchschauen ob ich i-was falsch gemacht habe:


    Das is der Befehl um im OOC Chat zu schreiben:


    ocmd:o(playerid,params[])
    {
    if(ooc == 0) return SendClientMessage(playerid,COLOR_RED,"Der Globaler Chat ist deaktiviert!");
    new text[128];
    new string[128];
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,Name,sizeof(Name));
    if(sscanf(params,"s",text)) return SendClientMessage(playerid,COLOR_RED,"Benutzung /o [text]!");
    format(string,sizeof(string),"[Globaler-Chat] %s: %s",Name,text);
    SendClientMessageToAll(COLOR_WHITE,string);
    return 1;
    }


    Das ist der befhel um den OOC an und auszuschalten:


    if(strcmp(cmd, "/ooc", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pAdmin] >= 6 && (!noooc))
    {
    noooc = 1;
    BroadCast(COLOR_YELLOW, "Der öffentliche Chat wurde eingeschaltet.");
    }
    else if (PlayerInfo[playerid][pAdmin] >= 1337 && (noooc))
    {
    noooc = 0;
    BroadCast(COLOR_YELLOW, "Der öffentliche Chat wurde ausgeschaltet.");
    }
    else
    {
    SendClientMessage(playerid, COLOR_YELLOW, " Tu das Lieber nicht!");
    }
    }
    return 1;
    }

    Hallo ich habe ein Problem mit /tanken also wenn ich an eine Tankstelle hingehe und /tanken eingeben steht dann Bitte warte...
    Und dann wird man gefreezed und es geht nicht mehr weiter:


    Hier die /tanken befehle:


    if(strcmp("/tanken", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10,1004.0812,-939.4362,42.1797))
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsAtGasStation(playerid))
    {
    if(IsANoTachoVehicle(GetPlayerVehicleID(playerid)))
    {
    SendClientMessage(playerid,COLOR_YELLOW," Du kannst kein Fahrrad betanken!");
    }
    SetTimer("Fillup",RefuelWait,0);
    Refueling[playerid] = 1;
    FreezePlayer(playerid);
    SendClientMessage(playerid,COLOR_WHITE," Dein Fahrzeug wird betankt, Bitte warten....");
    }
    return 1;
    }
    }

    echo server.cfg generated by samp4you.com: Interface
    port 7309
    rcon_password *********
    rcon 1
    lanmode 0
    maxplayers 25
    announce 1
    query 1
    hostname [LCR] Leader gesucht mit startbonus: 100000+lvl3
    mapname
    weburl http://www.sa-mp.com
    maxnpc 10
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
    bind 5.9.28.77
    logtimeformat [%H:%M:%S]
    filterscripts tanken haussystem


    gamemode0 WorldofSanAndreas

    Hallo ich habe meinen Server neu aufgesetzt da viele gebannt waren und nicht mehr auf den Server konnten.
    Jetzt habe ich das Script eingefügt und es nimmt es i-wie nicht an!
    Aber der Server lässt sich starten!
    Hier mal einen Auszug aus der server.log




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


    [15:01:27] mapname = "San Andreas" (string)
    [15:01:27]
    [15:01:27] Server Plugins
    [15:01:27] --------------
    [15:01:27] Loaded 0 plugins.


    [15:01:27]
    [15:01:27] Filterscripts
    [15:01:27] ---------------
    [15:01:27] Loading filterscript 'tanken.amx'...
    [15:01:27]
    __________________________________________
    [15:01:27] [!Stan´s] Speedometer geladen...
    [15:01:27] __________________________________________


    [15:01:27] Loading filterscript 'haussystem.amx'...
    [15:01:27] Loaded 2 filterscripts.


    [15:01:27] Script[gamemodes/WorldofSanAndreas.amx]: Run time error 19: "File or function is not found"
    [15:01:27] Number of vehicle models: 0
    [15:02:00] Incoming connection: 84.187.84.139:55674
    [15:02:00] [join] [LcR]Marv has joined the server (0:84.187.84.139)
    [15:02:18] RCON (In-Game): Player #0 ([LcR]Marv) has logged in.
    [15:02:32] RCON (In-Game): Player [[LcR]Marv] sent command: makeadmin 0 200
    [15:02:41] [part] [LcR]Marv has left the server (0:1)
    [15:03:04] --- Server Shutting Down.




    Das mit dem Server Shutting Down war ich als ich den Server gestoppt habe...


    Hoffe auf eine schnelle Antwort!

    Okay nachdem ich das umgeändert habe kommen diese Errors und Warnings:



    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(18200) : warning 219: local variable "Spieler" shadows a variable at a preceding level
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53156) : warning 202: number of arguments does not match definition
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53207) : error 017: undefined symbol "ooc"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53210) : warning 219: local variable "Name" shadows a variable at a preceding level
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53211) : error 001: expected token: ",", but found ";"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 037: invalid string (possibly non-terminated string)
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 017: undefined symbol "Benutzung"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : warning 215: expression has no effect
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 001: expected token: ";", but found "]"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : fatal error 107: too many error messages on one line


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



    6 Errors.

    //NPC Skin Setzung
    if(IsPlayerNPC(playerid))
    (
    new botname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,botname,sizeof(botname));
    if(!strcmp(botname,"Busfahrer",true))
    {
    SetPlayerSkin(playerid,5);
    }
    )
    //NPC Bot Abfrage
    if(IsPlayerNPC(playerid)) return 1;
    StopAudioStreamForPlayer(playerid);
    M_OnPlayerSpawn(playerid);
    TextDrawShowForPlayer(playerid,Datum);
    if(PlayerInfo[playerid][pTot] == 1 && PlayerInfo[playerid][pLevel] > 1)
    {

    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5293 -- 5294) : error 029: invalid expression, assumed zero
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : warning 215: expression has no effect
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : error 001: expected token: ";", but found "]"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : error 029: invalid expression, assumed zero
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : 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.

    Script: //NPC Skin Setzung
    if(IsPlayerNPC(playerid))
    (
    new botname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,botname,sizeof(botname));
    if(!strcmp(botname,"Busfahrer",true))
    (
    SetPlayerSkin(playerid,5);
    )




    Errors&Warunungen:



    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5293 -- 5294) : error 029: invalid expression, assumed zero
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : warning 215: expression has no effect
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : error 001: expected token: ";", but found "]"
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : error 029: invalid expression, assumed zero
    C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : 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.




    Hoffe auf schnelle Hilfe