25.09.2009, 12:58
Let's try to fix it by this:
TOP OF SCREEN:
AND THE SCRIPT:
U can't put more than 1 TextDraw in 1 Text variable. 1 Text Variable is only for 1 TextDraw (Except if u use arrays )
Hopez helpz!
TOP OF SCREEN:
Код:
new Text:Help1; new Text:Help2; new Text:Help3; new Text:Help4; new Text:Help5;
Код:
if(strcmp("/help", cmdtext, true, 5) == 0) { Help1 = TextDrawCreate(260.000000,222.000000,"Help info:"); Help2 = TextDrawCreate(260.000000,202.000000,"Type /cmds for a list of commands"); Help3 = TextDrawCreate(260.000000,182.000000,"Type /teles for a list of teleports"); Help4 = TextDrawCreate(260.000000,162.000000,"Type /serverinfo for server info"); Help5 = TextDrawCreate(260.000000,142.000000,"Type /rules to see the server rules"); TextDrawUseBox(Help1,1); TextDrawBoxColor(Help1, 0xa0d3ffAA); TextDrawBackgroundColor(Help1, 0xa0d3ffAA); TextDrawUseBox(Help2,1); TextDrawBoxColor(Help2, 0xa0d3ffAA); TextDrawBackgroundColor(Help2, 0xa0d3ffAA); TextDrawUseBox(Help3,1); TextDrawBoxColor(Help3, 0xa0d3ffAA); TextDrawBackgroundColor(Help3, 0xa0d3ffAA); TextDrawUseBox(Help41,1); TextDrawBoxColor(Help4, 0xa0d3ffAA); TextDrawBackgroundColor(Help4, 0xa0d3ffAA); TextDrawUseBox(Help5,1); TextDrawBoxColor(Help5, 0xa0d3ffAA); TextDrawBackgroundColor(Help5, 0xa0d3ffAA); TextDrawShowForPlayer(playerid,Help1); TextDrawShowForPlayer(playerid,Help2); TextDrawShowForPlayer(playerid,Help3); TextDrawShowForPlayer(playerid,Help4); TextDrawShowForPlayer(playerid,Help5); }
Hopez helpz!