Formated command list
#1

Hi,

I'm new to the SA-MP scripting.
I want to make a list for the commands of my filter script.

Currently I do this with SendClientMessage() for every line.

The command list contains two columns (The command name and a short description).

But the descriptions are not in one column.

Код:
SendClientMessage(playerid,COLOR_GREEN,"*** Commands ***");
SendClientMessage(playerid,COLOR_GREY,"/burn [PlayerID]     - Burn a player");
SendClientMessage(playerid,COLOR_GREY,"/cmdlist         - Show this list");
SendClientMessage(playerid,COLOR_GREY,"/dance [Style 1 - 3]   - Dance");
SendClientMessage(playerid,COLOR_GREY,"/explode [PlayerID]    - Explode a player");
SendClientMessage(playerid,COLOR_GREY,"/handsup         - Hands up");
SendClientMessage(playerid,COLOR_GREY,"/kill [PlayerID]     - Kill your self (or another player)");
SendClientMessage(playerid,COLOR_GREY,"/lock           - Lock your vehicle");
SendClientMessage(playerid,COLOR_GREY,"/slap [PlayerID]     - Slap a player");
SendClientMessage(playerid,COLOR_GREY,"/spawnvehicle [VehicleID] - Spawn a vehicle");
SendClientMessage(playerid,COLOR_GREY,"/speedo          - Show/Hide the speedometer");
SendClientMessage(playerid,COLOR_GREY,"/unlock          - Unlock your vehicle");
SendClientMessage(playerid,COLOR_GREY,"/vehiclelist [Page]    - Show the list of vehicles");
I hope you understand what I mean.
Reply


Messages In This Thread
Formated command list - by Programie - 13.08.2009, 15:49
Re: Formated command list - by FUNExtreme - 13.08.2009, 15:49
Re: Formated command list - by Programie - 13.08.2009, 15:51
Re: Formated command list - by GTA_Rules - 13.08.2009, 16:02
Re: Formated command list - by Programie - 15.08.2009, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)