16.08.2011, 09:32
Okay here is a simple example using zcmd for the command:
Then you can simply display the string using a textdraw as usual, does that help?
The only problem is that you'll need quite a big array to handle all of the data.
pawn Код:
new numberdraw[500];
CMD:addnumber(playerid, params[])
{
if(!params[0]) return SendClientMessage(playerid, color, "Usage: /addnumber [number]");
strcat(numberdraw, params);
SendClientMessage(playerid, color, "The number has been added");
return 1;
}
The only problem is that you'll need quite a big array to handle all of the data.