SA-MP Forums Archive
Lil help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Lil help (/showthread.php?tid=225310)



Lil help - hadzx - 13.02.2011

pawn Код:
if(dialogid == the_dialog) //0xA2F20DFF
    {
        if(strlen(inputtext) == 0) return ShowPlayerDialog(playerid,Maindialog,1,"Label","Put the text","Ok","Cancel");
        strcat(LInfo[ID][text],inputtext);
        ShowPlayerDialog(playerid,Colordialog,1,"Color","(must be hex)","Ok","Cancel");
        return 1;
    }
but then when on my other piece of code ihave to print what it has it says "<null>"
why