27.05.2013, 09:29
Okay i've a proplem with commands.. When i type it it doesnt show anything..
Such as:
Its not showing compltley
and..
Its not showing this too!.. So please i need your help.
Such as:
pawn Код:
CMD:mole(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 3)
{
SendClientMessage(playerid, COLOR_GREY, "You're not authorized to use that command!");
return 1;
}
new string[128];
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mole [mole text]");
format(string, sizeof(string), "SMS: %s, Sender: MOLE (555)",params);
SendClientMessageToAllEx(COLOR_YELLOW, string);
return 1;
}
and..
pawn Код:
if(sscanf(params, "s[32]dD", choice, bizid, amount))
{
SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /bedit [name] [bizid] [optional amount]");
SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Commands: Exterior | Interior | Vault | Type | Price | Delete | Supplies");
return 1;
}