Why won't this work? (isnull)
#1

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");
    }
Reply
#2

if(sscanf(params, "s[32]",usage))
{
SendClientMessage(playerid, COLOUR_GREY, "Usage: /trunk [usage]");
SendClientMessage(playerid, COLOUR_GREY, "Usages: Store, Get, View");
return 1;
}
Reply
#3

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
}
Reply
#4

Could you answer my latest post?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)