Beiträge von xNait aka. NIKEiD2.0

    Hi Leute.
    Bringt es mir was, wenn ich GivePlayerMoney zu GivePlayerGeld umbennen,
    sowie GetPlayerMoney. Damit der Server iwie erkennt wen fremdes Geld kommt ?


    if(GetPlayerMoney(i) - CurrentMoney[i] >= 50000 && PlayerInfo[i][pAdmin] < 1)
    {
    if(ConsumingMoney[i])
    {
    CurrentMoney[i] = GetPlayerMoney(i);
    ConsumingMoney[i] = 0;
    }
    else
    {
    GetPlayerName(i, plname, sizeof(plname));
    format(string, 256, "AdmWarning: [%d]%s just spawned above $50000 in one second (moneycheat), use /check on him.",i,plname);
    ABroadCast(COLOR_YELLOW,string,1);
    PayLog(string);
    CurrentMoney[i] = GetPlayerMoney(i);
    }
    }
    else
    {
    CurrentMoney[i] = GetPlayerMoney(i);
    }


    Also ich will das die Script GivePlayerMoney's als "legal" gesehen werden und sobald auch nur 1$ gechatet wird, also
    aus dem nichts kommt. Soll was unternommen werden !
    Lg

    Gta Lifeplay Housesystem eingefügt und die CreateDynamic3dtextLabel zu Create3dtextLabel geändert.


    LOG

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


    SA-MP Dedicated Server
    ----------------------
    v0.3d-R2, (C)2005-2011 SA-MP Team


    [22:48:47]
    [22:48:47] Server Plugins
    [22:48:47] --------------
    [22:48:47] Loading plugin: streamer.so
    [22:48:47]


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


    [22:48:47] Loaded.
    [22:48:47] Loaded 1 plugins.


    [22:48:47]
    [22:48:47] Ban list
    [22:48:47] --------
    [22:48:47] Loaded: samp.ban
    [22:48:47]
    [22:48:47]
    [22:48:47] Filterscripts
    [22:48:47] ---------------
    [22:48:47] Loaded 0 filterscripts.


    [22:48:47] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file)
    [22:48:47] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file)
    [22:48:47] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file)
    [22:48:47] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file)
    [22:48:47] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file)
    [22:48:47] BizzInfo:0 Owner:The State Message:~w~Gun Shop 1 Entfee:0 Till:0 Products:100/500 Interior:1.


    [22:48:47] BizzInfo:1 Owner:The State Message:~w~Gun Shop 2 Entfee:0 Till:0 Products:100/500 Interior:4.


    [22:48:47] BizzInfo:2 Owner:The State Message:~w~Restaurant Entfee:0 Till:0 Products:100/500 Interior:1.


    [22:48:47] BizzInfo:3 Owner:The State Message:~w~Police Armoury Entfee:0 Till:0 Products:500/500 Interior:10.


    [22:48:47] BizzInfo:4 Owner:The State Message:~w~City Bank Entfee:0 Till:0 Products:99997/100000 Interior:0.


    [22:48:47] SBizzInfo:0 Owner:The State Message:~w~Car Renting 1 Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:1 Owner:The State Message:~w~Wang Cars Entfee:0 Till:0 Products:99/100 Interior:0.


    [22:48:47] SBizzInfo:2 Owner:The State Message:~w~Phone Company Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:3 Owner:The State Message:~w~Gas Company Entfee:1 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:4 Owner:The State Message:~w~Electricity Company Entfee:0 Till:25 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:5 Owner:The State Message:~w~Car Delivery Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:6 Owner:The State Message:~w~House Upgrade Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:7 Owner:The State Message:~w~CNN Studio Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:8 Owner:The State Message:~w~Tow Car Service Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:9 Owner:The State Message:~w~General Store Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:10 Owner:The State Message:~w~Paintball Arena Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] SBizzInfo:11 Owner:The State Message:~w~Kart Track Entfee:0 Till:0 Products:100/100 Interior:0.


    [22:48:47] Family:0 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:1 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:2 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:3 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:4 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:5 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:6 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:7 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:8 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] Family:9 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0
    [22:48:47] CK:0 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:1 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:2 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one
    [22:48:47] Paper:0 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:1 Used: 0 Maker:0
    Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:2 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:3 Used: 0 Maker:0
    Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:4 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:5 Used: 0 Maker:0
    Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:6 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:7 Used: 0 Maker:0
    Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:8 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] Paper:9 Used: 0 Maker:0
    Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [22:48:47] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
    [22:48:47] Pickups Max = 100, Current Pickups = 46
    [22:48:47]
    [22:48:47]
    [22:48:47] German Reallife
    [22:48:47] _____________________
    [22:48:47]
    [22:48:47]
    [22:48:47] Number of vehicle models: 42

    HI Leute.
    Ingame werden die CreateDynamicObject Objekte nicht mehr geladen.
    Alles stimmt eigentlich. Ich habe streamer includiert, in die .cfg eingetragen.
    Davor ging es noch.
    Kennt vielleicht jemand eine Lösung ?
    Lg

    fail xD
    Hier:


    if(!strcmp(cmdtext, "/hauskasse", true))
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    format(str, sizeof str, "/Houses/%d.ini", i);
    if(fexist(str))
    {
    if(IsPlayerInRangeOfPoint(playerid, 10.0, HouseInfo[i][hIntx], HouseInfo[i][hInty], HouseInfo[i][hIntz]) && GetPlayerVirtualWorld(playerid) == i)
    {
    if(!strcmp(pn(playerid), HouseInfo[i][hOwner], false))
    {
    ShowPlayerDialog(playerid, HauskasseDiag, 2, "Hauskasse", "Inhalt\nRausholen\nReintun", "Auswählen", "Beenden");
    SetPVarInt(playerid, "Hauskassehid", i);
    }
    }
    }
    }
    return 1;
    }

    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19501) : error 017: undefined symbol "pn"
    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19749) : error 017: undefined symbol "pn"
    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19832) : error 017: undefined symbol "pn"
    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19834) : error 017: undefined symbol "pn"


    //Einer der Errors


    if(!strcmp(cmdtext, "/wohnungkündigen", true))
    {
    if(PlayerInfo[playerid][pRentHouseKey] == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du mietest keine Wohnung!");
    PlayerInfo[playerid][pRentHouseKey] = MAX_HOUSES+1;
    SendClientMessage(playerid, Grey, "Mietvertrag gekündigt!");
    return 1;
    }


    /edit: Code

    Hi Leute ich habe mir mal das GTA Lifeplay angesehen und
    habe mich für ein paar Befehle interessiert.
    Jedoch gibt er mir folgende fehler:


    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19817) : error 017: undefined symbol "INI_Close"
    C:\Users\ANONYM\Desktop\GF\gamemodes\godfather.pwn(19825) : error 017: undefined symbol "pn"


    Welche Includes gehören dazu ?


    e: titel

    Hey Leute,


    ich habe für mein Standard GF die Häuser von SoL übernommen,
    da es einem die Arbeit erspart. Mein Problem jedoch. In vielen Häusern ist das Interior ja gleich.
    Und deshalb wird man beim verlassen des Hauses immer an ein anderes Haus gespawnt.
    Kennt ihr das Problem ?
    Lg


    //OnPlayerConnect


    if(fexist(string))
    {
    gPlayerAccount[playerid] = 1;
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Willkommen zurück auf {4BFF00}Street Reallife");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Der Server hat deinen Account gefunden. Du kannst dich in 4 Sekunden einloggen.");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Viel Spaß weiterhin auf Street Reallife");
    GameTextForPlayer(playerid, "Verbinde ...", 4000, 3);
    SetTimer("LoginTimer", 4000, 0);
    return 1;
    }
    else
    {
    gPlayerAccount[playerid] = 0;
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Willkommen auf {4BFF00}Street Reallife");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Da dein Account nicht gefunden wurde musst du dich Registrieren.");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Wir wünschen dir viel Spaß auf unserem Server.");
    GameTextForPlayer(playerid, "Verbinde ...", 4000, 3);
    SetTimer("LoginTimer", 4000, 0);
    return 1;
    }


    Dialog_Login wird immer noch nicht angezeigt :D


    //oben definiert
    forward LoginTimer(playerid);
    //onplayerrequestclass ...
    SetTimer("LoginTimer", 2500, 0);
    //public
    public LoginTimer(playerid)
    {
    if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Willkommen","Willkommen auf {4BFF00}Street Reallife\nBitte logge dich nun in deinen Account ein!","Login","Abbrechen");
    }
    else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"Account","Du benötigst einen Account, um auf diesem Server zu spielen!","Erstellen","Abbrechen");
    }
    }


    Habe es so gemacht, weil der Code unter dem Public vorher da stand, wo jetzt der SetTimer - Befehl steht.