zcmd + sscanf.. problem!
#1

Hello !

I have a cmd for display a SendClientMessage.

But it's not work!!

pawn Код:
CMD:ma(playerid, params[])
{
    if(isnull(params))
    {
        SendClientMessage(playerid, -1, "/ma <actions>");
        return SendClientMessage(playerid, COLOR_NOM, "Actions: ramasser, poser");
    }


    if(strcmp(params, "poser", false))
    {
        new quantite;
       
        if(sscanf(params, "d", quantite))
            return SendClientMessage(playerid, -1, "/ma poser <quantitй>");
       
        SendClientMessage(playerid, -1, "good");
    }

    return true;
}
Thx
Reply


Messages In This Thread
zcmd + sscanf.. problem! - by Baltimore - 27.10.2014, 17:39
Re: zcmd + sscanf.. problem! - by Glossy42O - 27.10.2014, 18:12
Re: zcmd + sscanf.. problem! - by dominik523 - 27.10.2014, 18:13
Re : zcmd + sscanf.. problem! - by Baltimore - 27.10.2014, 18:13
Re: zcmd + sscanf.. problem! - by dominik523 - 27.10.2014, 18:18
Re : zcmd + sscanf.. problem! - by Baltimore - 27.10.2014, 18:21
Re: zcmd + sscanf.. problem! - by nemesis- - 27.10.2014, 19:38
Re : zcmd + sscanf.. problem! - by Baltimore - 27.10.2014, 19:45

Forum Jump:


Users browsing this thread: 2 Guest(s)