Beiträge von Aykut

    Hallo, wieso wird der mysql plugin nicht geladen?
    Ich habe den Streamer plugin scho drinne,



    Danke für die schnelle Antwort,


    Wenn ich die verwende steht


    "SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team


    [20:12:01]
    [20:12:01] Server Plugins
    [20:12:01] --------------
    [20:12:01] Loading plugin: sscanf
    [20:12:01]


    [20:12:01] ===============================


    [20:12:01] sscanf plugin loaded.


    [20:12:01] Version: 2.8.1


    [20:12:01] (c) 2012 Alex "Y_Less" Cole


    [20:12:01] ===============================


    [20:12:01] Loaded.
    [20:12:01] Loading plugin: streamer
    [20:12:01]


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


    [20:12:01] Loaded.
    [20:12:01] Loading plugin: mysql
    [20:12:01] Failed.
    [20:12:01] Loading plugin: Whirlpool
    [20:12:01]
    [20:12:01] ==================
    [20:12:01]
    [20:12:01] Whirlpool loaded
    [20:12:01]
    [20:12:01] ==================
    [20:12:01]
    [20:12:01] Loaded.
    [20:12:01] Loading plugin: audio
    [20:12:01]


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


    [20:12:01] Loaded.
    [20:12:01] Loading plugin: nativechecker
    [20:12:01] Loaded.
    [20:12:01] Loaded 5 plugins.


    [20:12:01]
    [20:12:01] Ban list
    [20:12:01] --------
    [20:12:01] Loaded: samp.ban
    [20:12:01]
    [20:12:01]
    [20:12:01] Filterscripts
    [20:12:01] ---------------
    [20:12:01] Loading filterscript 'anims.amx'...
    [20:12:01] Loading filterscript 'mapping.amx'...
    [20:12:01] Loading filterscript 'yom_buttons.amx'...
    [20:12:01] Loaded 3 filterscripts.


    [20:12:01] Error: Function not registered: 'mysql_tquery'
    [20:12:01] Error: Function not registered: 'mysql_escape_string'
    [20:12:01] Error: Function not registered: 'cache_get_data'
    [20:12:01] Error: Function not registered: 'cache_get_field_content'
    [20:12:01] Error: Function not registered: 'mysql_stat'
    [20:12:01] Error: Function not registered: 'mysql_log'
    [20:12:01] Error: Function not registered: 'mysql_connect'
    [20:12:01] Error: Function not registered: 'mysql_errno'
    [20:12:01] Error: Function not registered: 'mysql_close'
    [20:12:01] Error: Function not registered: 'cache_get_row'
    [20:12:01] Error: Function not registered: 'cache_insert_id'
    [20:12:01] Error: Function not registered: 'cache_affected_rows'
    [20:12:01] Script[gamemodes/DGRP.amx]: Run time error 19: "File or function is not found"
    [20:12:01] Number of vehicle models: 0


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


    SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team


    [20:44:53]
    [20:44:53] Server Plugins
    [20:44:53] --------------
    [20:44:53] Loading plugin: sscanf
    [20:44:53]


    [20:44:53] ===============================


    [20:44:53] sscanf plugin loaded.


    [20:44:53] Version: 2.8.1


    [20:44:53] (c) 2012 Alex "Y_Less" Cole


    [20:44:53] ===============================


    [20:44:53] Loaded.
    [20:44:53] Loading plugin: streamer
    [20:44:53]


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


    [20:44:53] Loaded.
    [20:44:53] Loading plugin: mysql
    [20:44:54] Failed.
    [20:44:54] Loading plugin: Whirlpool
    [20:44:54]
    [20:44:54] ==================
    [20:44:54]
    [20:44:54] Whirlpool loaded
    [20:44:54]
    [20:44:54] ==================
    [20:44:54]
    [20:44:54] Loaded.
    [20:44:54] Loading plugin: audio
    [20:44:54]


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


    [20:44:54] Loaded.
    [20:44:54] Loading plugin: nativechecker
    [20:44:54] Loaded.
    [20:44:54] Loaded 5 plugins.


    [20:44:54]
    [20:44:54] Ban list
    [20:44:54] --------
    [20:44:54] Loaded: samp.ban
    [20:44:54]
    [20:44:54]
    [20:44:54] Filterscripts
    [20:44:54] ---------------
    [20:44:54] Loading filterscript 'anims.amx'...
    [20:44:54] Loading filterscript 'mapping.amx'...
    [20:44:54] Loading filterscript 'yom_buttons.amx'...
    [20:44:54] Loaded 3 filterscripts.


    [20:44:55] Error: Function not registered: 'mysql_tquery'
    [20:44:55] Error: Function not registered: 'mysql_escape_string'
    [20:44:55] Error: Function not registered: 'cache_get_data'
    [20:44:55] Error: Function not registered: 'cache_get_field_content'
    [20:44:55] Error: Function not registered: 'mysql_stat'
    [20:44:55] Error: Function not registered: 'mysql_log'
    [20:44:55] Error: Function not registered: 'mysql_connect'
    [20:44:55] Error: Function not registered: 'mysql_errno'
    [20:44:55] Error: Function not registered: 'mysql_close'
    [20:44:55] Error: Function not registered: 'cache_get_row'
    [20:44:55] Error: Function not registered: 'cache_insert_id'
    [20:44:55] Error: Function not registered: 'cache_affected_rows'
    [20:44:55] Script[gamemodes/DGRP.amx]: Run time error 19: "File or function is not found"
    [20:44:55] Number of vehicle models: 0
    "

    Hallo, mein Server startet nicht, mehrere Plugins getestet und war leider erfolglos, wieso startet er nicht? welches plugin benötige ich?


    Zitat

    (123437 -- 123438) : error 035: argument type mismatch (argument 1)
    (123437 -- 123439) : error 001: expected token: ",", but found ";"
    (123444 -- 123445) : error 035: argument type mismatch (argument 1)
    (123444 -- 123446) : error 001: expected token: ",", but found ";"


    if(dialogid == DIALOG_BANKMENU)
    {
    new resultline[1024], header[64];
    if(response)
    {
    if(listitem == 0)
    {
    format(header, sizeof(header), "Balance of %s", GetPlayerNameEx(playerid)),
    format(resultline, sizeof(resultline),"Lock: %s",number_format(PlayerInfo[pAccount]),
    ShowPlayerDialog(playerid, BANK_BALANCE, DIALOG_STYLE_MSGBOX, header, resultline, "Close");


    }
    else if(listitem == 1)
    {
    format(header, sizeof(header), "Balance of %s", GetPlayerNameEx(playerid)),
    format(resultline, sizeof(resultline),"Lock: %s",number_format(PlayerInfo[pAccount]),
    ShowPlayerDialog(playerid, BANK_BALANCE, DIALOG_STYLE_MSGBOX, header, resultline, "Close");
    }
    }
    }

    Hallo, ich arbeite grad an einem Börsen system...


    Meine frage wäre .. ob ich es einstellen kann dass sich der Preis z.B jede 3 stunden automatisch ändert .. und dass es z.B random zahlen nimmt zwischen 1-20 ..
    und mit den Preisen Aktien kaufen/verkaufen kann?
    Wenn möglich könnte mir jmnd einen beispiel zeigen?

    Hallo,


    Weiß jemand vielleicht wie man das so einstellt das die Kamera sozusagen mitfliegt .. (z.b beim Tutorial)
    Hier ist ein beispiel .. also hier im video sieht ihr es während des Tutorials


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    Danke

    Hallo, wenn ich den Dialog im Spiel öffne und etwas wähle wird kein Checkpoint im Spiel gesetzt.
    Wenn ich einen CP ohne dem Dialog setzte erscheint der, aber vom Dialog aus nicht.


    Wenn ich es compile zeigt es keine Fehlern an.


    if(dialogid == BUSJOB)
    {
    if(response == 1)
    {
    switch(listitem)
    {
    case 0:
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1308.3702, -1857.7684, 13.5469, 7.0); //1st Stat
    BusCP[playerid] = 1;
    }
    case 1:
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1308.3702, -1857.7684, 13.5469, 7.0); //1st Stat
    }
    case 2:
    {
    ShowPlayerDialog(playerid, BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    case 3:
    {
    ShowPlayerDialog(playerid, BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    }
    }
    return 1;
    }

    So ?


    if(dialogid == DIALOG_BUSJOB)
    {
    if(response == 1)
    {

    switch(listitem)
    {
    if(listitem == 0)
    {
    SetPVarInt(playerid,"busjb", 1);
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1308.3702, -1857.7684, 13.5469, 7); //1st Stat
    SendClientMessageEx(playerid, COLOR_GREY, "11.");
    }
    else if(listitem == 1)
    {
    SendClientMessageEx(playerid, COLOR_GREY, "222.");
    SetPlayerCheckpoint(playerid, 1308.3702, -1857.7684, 13.5469, 7.0); //1st Stat
    BusCP[playerid] = 1;
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    else if(listitem == 2)
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    else if(listitem == 3)
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    }
    }
    return 1;
    }


    Danke

    Ich krieg keine Erros beim compilen, im Spiel erscheint auch ein Dialog und wenn ich dann die Route auswähle erscheint kein CP ...
    Also wie gesagt kein einziges Error beim compilen