help with zcmd[need help]
#1

i have another prob

how can i make /buyitem [item name] with zcmd

i mean what is the code to know that the player typed the item name

here is a e.g

pawn Код:
COMMAND:buyitem(playerid,params[])
{
    if(!sscanf(params, "Test")
    {
        SendClientMessage(playerid, COLOR_RED, "test success :D!");
    }
    else SendClientMessage(playerid, COLOR_GREEN, "USAGE: /buyitem <item name> | use /shophelp for help.");
    return 1;
}
help pls
Reply


Messages In This Thread
help with zcmd[need help] - by ZayanImran - 07.02.2013, 07:56
Re: help with zcmd[need help] - by Youice - 07.02.2013, 08:02

Forum Jump:


Users browsing this thread: 2 Guest(s)