Quote:
Originally Posted by Troydere
PHP код:
if(sscanf(params, "us[250]i", id, item, ammount))
{
SCM(playerid, COLOR_GREY,"Syntaxl: /set <id> <item> <ammount> ");
SCM(playerid, COLOR_GREY, "Available Items: Group, Rank, Money, BankMoney, PlayedHours, RespecPoints.");
SCM(playerid, COLOR_GREY, "Available Items: PremiumPoints, PremiumAccount, Level, FP, TeamViewer, VIP, Skin.");
}
Add a return in the code above to avoid the rest of the function from executing.
|
I solved this but when I type just "/set" command set me rank 0 automatically, why ?