07.02.2013, 07:56
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
help pls
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;
}