SA-MP Forums Archive
EASYDIALOG include 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)
+--- Thread: EASYDIALOG include help (/showthread.php?tid=419612)



EASYDIALOG include help - PaulDinam - 01.03.2013

Everytime i'm trying to use for example:

This park isn't working.
Код:
if(!strlen(inputtext)) return SCM(playerid, -1, "No");
Код:
Dialog:SpawnAdminWeapon(playerid, response, listitem, inputtext[])
{
    if (response)
    {
		if(!strlen(inputtext)) return SCM(playerid, -1, "No");
    }
    else
    {	
		SCM(playerid, -1, "Test");
    }
    return 1;
}



Re: EASYDIALOG include help - AndreT - 01.03.2013

I think that depending on how this callback is fired - and if it is done using CallLocalFunction, you need to use isnull() which should be included already!

Test it out and post results.


Re: EASYDIALOG include help - PaulDinam - 01.03.2013

It works lol, thanks man