14.12.2011, 17:22
Well, i was trying to make a list. I got 0 errors, but it didnt work.
pawn Код:
CMD:acmds(playerid, params[])
{
new string[128],msg[128],pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
if(sscanf(params,"sz",msg)) return SendClientMessage(playerid,COLOR_RED, "
{1, "/asay, /bike, /boat, /car, /endspec
{1, "/endspec",
{1, "/engine <EngineStatus (0/1)>",
{1, "/freeze <OtherPlayer> <Duration> <Reason>",
{1, "/fuel",
{1, "/get <OtherPlayer>",
{1, "/jail <PlayerToJail> <JailTime> <Reason>",
{1, "/kick <PlayerToKick> <Reason>",
{1, "/mutes",
{1, "/nos",
{1, "/plane",
{1, "/port <OtherPlayer>",
{1, "/portloc <x> <y> <z>",
{1, "/portvehicle <CarID>",
{1, "/rep",
{1, "/repair",
{1, "/respawn <Vehicle-id>",
{1, "/spec <OtherPlayer>",
{1, "/tele <PlayerToPort> <TargetPlayer>",
{1, "/trailer",
{1, "/unmute <OtherPlayer>",
{1, "/warn <PlayerToWarn> <Reason>",
{2, "/eject <OtherPlayer>",
{2, "/wanted <PlayerID> <Stars>",
{3, "/ban <PlayerToBan> <Days> <Hours> <Reason>",
{3, "/caroption",
{3, "/cleanupcars",
{3, "/fly",
{3, "/healall",
{3, "/ipban <PlayerToBan> <Reason>",
{3, "/loc",
{3, "/plate <NumberPlate>",
{3, "/rangeban <PlayerToBan> <Reason>",
{3, "/repairall",
{3, "/setscore <OtherPlayer> <Score>",
{3, "/unban <PlayerToUnban>",
{4, "/cash <amount>",
{4, "/score <amount>",
{4, "/setskin <skin-id (0-299)>",
{4, "/weather",
{5, "/clamp , /vehicle, /createbusiness, /createcamera, /createhouse, /delbusiness,"
{5, "/delcamera
{5, "/delhouse",
{5, "/delobject <ObjectID>",
{5, "/delvehicle <VehicleID>",
{5, "/fixplayer <OtherPlayer>",
{5, "/object <ObjectModel> <x> <y> <z> <Angle>",
{5, "/pickup <PickupModel> <x> <y> <z> <PickupType>",
{5, "/resetplayer <OtherPlayer> <Money (0/1)> <Score (0/1)> <Stats (0/1)> <Reason>",
{5, "/restart",
{5, "/saveloc <ID> <LocationName>",
{5, "/setlevel <OtherPlayer> <AdminLevel>",
{5, "/vehicle <VehicleModel> <x> <y> <z> <Angle> <SpawnDelay>", ");