27.10.2010, 10:30
Код:
COMMAND:createvehicle(playerid, params[])
{
print("wtf");
new model;
new price;
new buyable;
new rent;
new faction;
new crew;
new job;
new color1;
new color2;
print("wtf1");
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Only admins allowed to use this command");
print("wtf2");
if(sscanf(params, "iiiiiiiii", model, price, buyable, rent, faction, crew, job, color1, color2)) return SendError(playerid, "USAGE: /createvehicle <model> <price> <buyprice> <rent> <faction> <crew> <job> <color1> <color2> - Buy Price: If the vehicle won't be buyable set it to -1, Rent: Same with buy price, Faction: Same, Crew: Same, Job:Same, Color- Read wiki");
CreateVehicleEx(playerid, model, price, buyable, rent, faction, crew, job, color1, color2);
print("wtf3");
SendFormattedMessage(playerid, COLOR_YELLOW, "Vehicle Model: %d has been created!", model);
print("wtf4");
return 1;
}
But for other commands it shows the syntax

