19.10.2013, 22:04
How i can add lines in each lines example ...
How i can add lines like that in here?
Код:
/Accept\t\t\t- Accept a duel request\n\ __________________________________\n\ /Buy\t\t\t- Buy a property\n\ __________________________________\n\ /Calc\t\t\t- Calculator\n\ __________________________________\n\ /Carchase\t\t- Locate the Carchase vehicle\n\ __________________________________\n\ /Carcolor\t\t- Change your car color\n\ __________________________________\n\ /Chance\t\t- Take a chance\n\ __________________________________\n\
Код:
CommandsDialog(playerid, title[]) // --- Commands Dialog --- //
{
new string[2048];
strcat(string, "\
/Accept\t\t\t- Accept a duel request\n\
/Buy\t\t\t- Buy a property\n\
/Calc\t\t\t- Calculator\n\
/Carchase\t\t- Locate the Carchase vehicle\n\
/Carcolor\t\t- Change your car color\n\
/Chance\t\t- Take a chance\n\
/Color\t\t\t- Change your color\n\
/Deny\t\t\t- Deny a duel request\n\
/DM\t\t\t- See a list of Deathmatches\n\
/Duel\t\t\t- Duel a player\n\
/Eject\t\t\t- Eject a player from your vehicle\n\
/Fs\t\t\t- Change your fighting style\n\
/Getid\t\t\t- Get a players ID\n\
");
strcat(string, "\
/Goto\t\t\t- Teleport to a player\n\
/Jetpack\t\t- Get a jackpack\n\
/Join\t\t\t- Join a race\n\
/Loadpos\t\t- Load your saved position\n\
/Lock\t\t\t- Lock your vehicles doors\n\
/Myprops\t\t- See a list of properties you own\n\
/Nitro\t\t\t- Toggle nitro On / Off\n\
/Para\t\t\t- Get a parachute\n\
/Pay\t\t\t- Give a player some of your money\n\
/PM\t\t\t- Send a private message\n\
/Props\t\t\t- See a list of properties\n\
/Races\t\t\t- See a list of races\n\
");
strcat(string, "\
/Register\t\t- Register your User Name\n\
/Report\t\t\t- Report a player\n\
/Reply\t\t\t- Reply to a PM\n\
/Savepos\t\t- Save your current position\n\
/Seen\t\t\t- See when a player was last online\n\
/Sb\t\t\t- Enable / Disable speed boost\n\
/Skin\t\t\t- Change your skin\n\
/Spin\t\t\t- Spin your vehicle\n\
/Stats\t\t\t- Get a players stats\n\
/Sell\t\t\t- Sell a property\n\
/Teles\t\t\t- See a list of Teleports\n\
/Tfall\t\t\t- Enable / Disable Anti-Fall\n\
/Tuneall\t\t- Tune your Vehicle\n\
");
strcat(string, "\
/Tgoto\t\t\t- Enable / Disable goto\n\
/Time\t\t\t- Set your time\n\
/Tpm\t\t\t- Toggle PM's On / Off\n\
/Tune\t\t\t- Tune your vehicle\n\
/Unlock\t\t\t- Unlock your vehicles doors\n\
/V\t\t\t- Spawn a vehicle\n\
/Vips\t\t\t- See a list of online VIP's\n\
/Vtog\t\t\t- Toggle vehicle features\n\
/Weather\t\t- Change your weather\n\
/Withdraw\t\t- Withdraw a duel request\n\
/Gang\t\t\t- Gang commands\n\
/Team\t\t\t- Team Deathmatch\n\
");
ShowPlayerDialog(playerid, Cmds_Dialog, LIST, title, string, "Close", "");
return 1;
}


