Beiträge von Simon:I


    Das selbe immer wieder 88k Zeilen lang

    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_real_escape_string( Connection handle: 1 )


    [04:40:15] >> mysql_real_escape_string() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).


    [04:40:15] >> mysql_query( Connection handle: 1 )


    [04:40:15] >> mysql_query() - Invalid connection handle. (You set: 1, Highest connection handle ID is 0).[/code]



    Uff und die is nöch länger :D
    das is die tabelle
    http://www7.pic-upload.de/17.12.12/xcydmti3zuxh.png

    Sorry ich hab die Leiste da unten nicht gesehen und dachte er meint die andere Leiste am Dialog.
    Ist doch jetzt nicht so schlimm ...
    Reg dich mal nicht so auf nur weil sich ein Mensch vertut, tun wir das nicht alle?

    Einfach der "Überschrift" Eine Farbe zuweißen, nehm als Test mal das. new string[200];
    format(string,sizeof(string),"{FFFFFF}Leiste");
    ShowPlayerDialog(playerid,886638,DIALOG_STYLE_MSG,string,"Test","Ok","Abbruch");



    EDIT: Fehler

    Hallo Liebe Breadfishler,


    Mein Problem ist, das mein MySQL Log/Reg nicht geht, das Problem genau dabei ist das er keinen Account erstellt, also es wird sozusagen kein Account erstellt, und das muss es ja selbst ohne SavePlayer, denn bei CreateAccount wird er ja trotzdem erstellt, ich weiß es ist noch nicht fertig, es sollte aber soweit wies geschrieben ist gehen, denn wie gesagt es wird ja was in die DB geschrieben, aufgrund der Verschiebungsfehler in Breadfish hab ich es mal als Pastebin gemacht.


    http://pastebin.com/fDDE9bxz



    Es wäre toll wenn mir jemand helfen kann, denn ich hänge schon die ganze Nacht dran.


    Mit freundlichen Grüßen,


    Simon

    C:\Users\Simon\Desktop\Hurensohn\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
    C:\Users\Simon\Desktop\Hurensohn\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
    C:\Users\Simon\Desktop\Hurensohn\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
    C:\Users\Simon\Desktop\Hurensohn\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.



    Hab alles versucht ...

    Hallo, ich hab jetzt schon in ein paar Videos und auf ein paar Server so richtig hammer geile Werbetafeln gesehen.


    BILD:




    Wie geht das ich will das mit meinem Werbesystem verbinden ... :thumbup:


    Wäre cool wenn es jemand weiß :)

    Ich soll für meinen Kumpel was entbuggen blick aber selbst nicht durch was dran falsch sein soll.


    #define MAX_FRAKTIONEN 17new Fraktionen[MAX_FRAKTIONEN][17] = {"San Andreas Polizei","FBI","San Andreas Army","Rettungsdienst","Präsidenten","Fahrschule","Ordnungsamt","Nachrichtendienst","Fahrgemeinschaft","Triaden","Nasa Stvar","Grove Street Family","Ballas Family","Vagos","Hitman","Terroristen","Wheelman"};



    C:\Users\Daniel\Desktop\SAMP\gamemodes\reallife.pwn(1190) : error 018: initialization data exceeds declared size



    Blicht ihr durch? :S


    Mit freundlichen Grüßen,


    Simon

    Ja Leute mir ist heute ein kleiner Blackout gekommen, und finde nichts in der Wiki deshalb frage ich mal hier, undzwar kann man ja Fahrzeuge über viele verschiedene Arten für Spieler undzugänglich machen, ich möchte aber das das Fahrzeug "Abgeschlossen ist" also ohne
    RemovePlayerFromVehicle


    und ohne
    TogglePlayerControllable


    Also das sozusagen wenn man einsteigen will nichts passiert.


    Kennt jemand dazu den Befehl?


    EDIT: Sorry, hab grade gemerkt das es hier in der falschen Kategorie ist, bitte bitte verschieben liebe Admins :love:

    Vielleicht hilft dir das.
    ZITAT AUS SAMP WIKI


    #define DIALOG_WEAPONS 3
    // In some command
    ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "Desert Eagle\nAK-47\nCombat Shotgun", "Select", "Close");

    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    if(dialogid == DIALOG_WEAPONS)
    {
    if(response) // If they clicked 'Select' or double-clicked a weapon
    {
    // Give them the weapon
    if(listitem == 0) // They selected the first item - Desert Eagle
    {
    GivePlayerWeapon(playerid, WEAPON_DEAGLE, 14); // Give them a desert eagle
    }
    if(listitem == 1) // They selected the second item - AK-47
    {
    GivePlayerWeapon(playerid, WEAPON_AK47, 120); // Give them an AK-47
    }
    if(listitem == 2) // They selected the third item - Desert Eagle
    {
    GivePlayerWeapon(playerid, WEAPON_SHOTGSPA, 28); // Give them a Combat Shotgun
    }
    }
    return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
    }

    return 0; // You MUST return 0 here! Just like OnPlayerCommandText.
    }