18.11.2009, 05:30
Finally someone who uses dcmd : >
There you go
pawn Код:
dcmd_buyfood(playerid, params[])
{
new food[128];
if(sscanf(params, "s", food)
return SendClientMessage(playerid, 0xFF0000AA, "USAGE: \"/buyfood [food-name]\"");
if(!strcmp(params, "hamburger and fries", true))
{
//Stuff
}
//more statements if you want, which you probally do.
return true;
}

