TextDraw help
#1

Ok so i putted a text draw in my script like this

Код:
Top of screen:
new Text:Help;
Код:
}

public OnPlayerCommandText(playerid, cmdtext[])

if(strcmp("/help", cmdtext, true, 5) == 0)
{

Help = TextDrawCreate(260.000000,222.000000,"Help info:");
Help = TextDrawCreate(260.000000,202.000000,"Type /cmds for a list of commands");
Help = TextDrawCreate(260.000000,182.000000,"Type /teles for a list of teleports");
Help = TextDrawCreate(260.000000,162.000000,"Type /serverinfo for server info");
Help = TextDrawCreate(260.000000,142.000000,"Type /rules to see the server rules");

TextDrawUseBox(Help,1);
TextDrawBoxColor(Help, 0xa0d3ffAA);
TextDrawBackgroundColor(Help, 0xa0d3ffAA);

TextDrawShowForPlayer(playerid,Help);
I have no erors or warnings but when i open the game it shows me only
Код:
Type /rules to see the server rules
it shows me only the last text draw. Pls help Thanks for forward help
Reply


Messages In This Thread
TextDraw help - by MB@ - 25.09.2009, 12:43
Re: TextDraw help - by BMUK - 25.09.2009, 12:54
Re: TextDraw help - by virspector - 25.09.2009, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)