dcmd_drog(playerid,params[])
{
new string[128], csomag, ar;
if(sscanf(params, \"ii\", csomag, ar)) SendClientMessage(playerid, szin, \"/drog csomag ár\");
else {
GetPlayerName(playerid,string,MAX_PLAYER_NAME);
format(string, 128,\"%s elad %d csomag drogot %d-ért\",string,csomag,ar);
SendClientMessageToAll(szin,string);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(drog,4,cmdtext);
return 1;
}