Why won't this work? (isnull) - 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: Why won't this work? (isnull) (
/showthread.php?tid=325373)
Why won't this work? (isnull) -
Dokins - 13.03.2012
pawn Код:
//This will not display the client messages after the SSCANF.
if(sscanf(params, "s[32]",usage)) return SendClientMessage(playerid, COLOUR_GREY, "Usage: /trunk [usage]");
if(isnull(usage))
{
SendClientMessage(playerid, COLOUR_GREY, "Usages: Store, Get, View");
}
Re: Why won't this work? (isnull) -
Marricio - 13.03.2012
if(sscanf(params, "s[32]",usage))
{
SendClientMessage(playerid, COLOUR_GREY, "Usage: /trunk [usage]");
SendClientMessage(playerid, COLOUR_GREY, "Usages: Store, Get, View");
return 1;
}
Re: Why won't this work? (isnull) -
MP2 - 13.03.2012
pawn Код:
if(sscanf()) this code here will happen if it is null
if(isnull())
{
//// this will never get called because it stops at the line above
}
Re: Why won't this work? (isnull) -
Dokins - 13.03.2012
Could you answer my latest post?