Weird string overwriting
#9

It's something wrong on your side. I tested it and it works fine.

PS: I just use an include for includes, but it still should work with the normal way.
pawn Код:
#define FILTERSCRIPT

#include < a_samp >
#include < easydialog >
#include < zcmd >

CMD:test( playerid, params[ ] )
{
    ShowDialog( playerid, Show:Test, DIALOG_STYLE_LIST, "Test", "Lavori\nNegozi di abbigliamento\nLuoghi comuni\nDistributori di benzina\nBar\nRistoranti\nCasino", "Select", "Cancel" );
    return 1;
}

Dialog:Test( playerid, response, listitem, inputtext[ ] )
{
    if( response )
    {
        print( inputtext );
        printf( "Guide/%s.info", inputtext );
    }
    return 1;
}
Quote:

[20:38:52] Lavori
[20:38:52] Guide/Lavori.info

Reply


Messages In This Thread
Weird string overwriting - by SimonItaly - 31.07.2013, 01:54
Respuesta: Weird string overwriting - by JustBored - 31.07.2013, 02:14
Re: Weird string overwriting - by SimonItaly - 31.07.2013, 02:17
Re: Weird string overwriting - by dEcooR - 31.07.2013, 06:32
Re: Weird string overwriting - by Scottas - 31.07.2013, 07:10
Re: Weird string overwriting - by SimonItaly - 31.07.2013, 16:45
Re: Weird string overwriting - by Konstantinos - 31.07.2013, 16:49
Re: Weird string overwriting - by SimonItaly - 31.07.2013, 17:25
Re: Weird string overwriting - by Konstantinos - 31.07.2013, 17:32
Re: Weird string overwriting - by SimonItaly - 31.07.2013, 17:48
Re: Weird string overwriting - by SimonItaly - 01.08.2013, 20:21
Re: Weird string overwriting - by park4bmx - 01.08.2013, 22:36

Forum Jump:


Users browsing this thread: 5 Guest(s)