SA-MP Forums Archive
[FilterScript] Command helps in TextDraw. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Command helps in TextDraw. (/showthread.php?tid=575199)



Command helps in TextDraw. - LuisFerreira - 24.05.2015

Help TextDraw:

- This is my first larval '' system '' here in samp forum chi vo post, something quite simple ..

- As the name already says is a simple command / help, which will pop up a TextDraw with help topics, and clicking on any topic will appear on the subject.

Print: http://imgur.com/IwNmCta

PHP код:
#include <a_samp>
#include <zcmd>
new PlayerText:help[21], PlayerText:Info[4];
new 
Msg[200];
public 
OnGameModeInit()
{
    print(
"System successfully connected help.");
    return 
1;
}
public 
OnGameModeExit()
{
    print(
"Successfully off help system.");
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
UploadHelp(playerid);
    return 
1;
}
CMD:help(playeridparams[])
{
    for(new 
021i++) PlayerTextDrawShow(playeridhelp[i]);
    for(new 
04i++) PlayerTextDrawHide(playerid,Info[i]);
    new 
rNome[24];
    
GetPlayerName(playeridrNome24);
    
format(Msgsizeof(Msg), "Welcome to the help panel: %s"rNome);
    
PlayerTextDrawSetString(playeridPlayerText:help[19], Msg);
    
SelectTextDraw(playerid0xFF0000FF);
    return 
1;
}
stock UploadHelp(playerid)
{
    
help[0] = CreatePlayerTextDraw(playerid,543.000000102.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,help[0], 255);
    
PlayerTextDrawFont(playerid,help[0], 1);
    
PlayerTextDrawLetterSize(playerid,help[0], 0.5000001.000000);
    
PlayerTextDrawColor(playerid,help[0], -1);
    
PlayerTextDrawSetOutline(playerid,help[0], 0);
    
PlayerTextDrawSetProportional(playerid,help[0], 1);
    
PlayerTextDrawSetShadow(playerid,help[0], 1);
    
PlayerTextDrawUseBox(playerid,help[0], 1);
    
PlayerTextDrawBoxColor(playerid,help[0], 65535);
    
PlayerTextDrawTextSize(playerid,help[0], 102.0000002.000000);
    
help[1] = CreatePlayerTextDraw(playerid,108.000000101.000000"Welcome to Brazil Roleplay - Help Panel.");
    
PlayerTextDrawBackgroundColor(playerid,help[1], -1);
    
PlayerTextDrawFont(playerid,help[1], 1);
    
PlayerTextDrawLetterSize(playerid,help[1], 0.2500001.000000);
    
PlayerTextDrawColor(playerid,help[1], 255);
    
PlayerTextDrawSetOutline(playerid,help[1], 1);
    
PlayerTextDrawSetProportional(playerid,help[1], 1);
    
help[2] = CreatePlayerTextDraw(playerid,543.000000115.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,help[2], 255);
    
PlayerTextDrawFont(playerid,help[2], 1);
    
PlayerTextDrawLetterSize(playerid,help[2], 0.50000033.500000);
    
PlayerTextDrawColor(playerid,help[2], -1);
    
PlayerTextDrawSetOutline(playerid,help[2], 0);
    
PlayerTextDrawSetProportional(playerid,help[2], 1);
    
PlayerTextDrawSetShadow(playerid,help[2], 1);
    
PlayerTextDrawUseBox(playerid,help[2], 1);
    
PlayerTextDrawBoxColor(playerid,help[2], 51);
    
PlayerTextDrawTextSize(playerid,help[2], 225.0000002.000000);
    
help[3] = CreatePlayerTextDraw(playerid,106.000000115.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,help[3], 255);
    
PlayerTextDrawFont(playerid,help[3], 1);
    
PlayerTextDrawLetterSize(playerid,help[3], 0.50000033.499984);
    
PlayerTextDrawColor(playerid,help[3], -1);
    
PlayerTextDrawSetOutline(playerid,help[3], 0);
    
PlayerTextDrawSetProportional(playerid,help[3], 1);
    
PlayerTextDrawSetShadow(playerid,help[3], 1);
    
PlayerTextDrawUseBox(playerid,help[3], 1);
    
PlayerTextDrawBoxColor(playerid,help[3], 51);
    
PlayerTextDrawTextSize(playerid,help[3], 219.0000002.000000);
    
help[4] = CreatePlayerTextDraw(playerid,106.000000115.000000"Selection of help:");
    
PlayerTextDrawBackgroundColor(playerid,help[4], -1);
    
PlayerTextDrawFont(playerid,help[4], 0);
    
PlayerTextDrawLetterSize(playerid,help[4], 0.3500001.000000);
    
PlayerTextDrawColor(playerid,help[4], 255);
    
PlayerTextDrawSetOutline(playerid,help[4], 1);
    
PlayerTextDrawSetProportional(playerid,help[4], 1);
    
help[5] = CreatePlayerTextDraw(playerid,106.000000139.000000"- About server:");
    
PlayerTextDrawBackgroundColor(playerid,help[5], 255);
    
PlayerTextDrawFont(playerid,help[5], 3);
    
PlayerTextDrawLetterSize(playerid,help[5], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[5], -1);
    
PlayerTextDrawSetOutline(playerid,help[5], 0);
    
PlayerTextDrawSetProportional(playerid,help[5], 1);
    
PlayerTextDrawSetShadow(playerid,help[5], 1);
    
help[6] = CreatePlayerTextDraw(playerid,106.000000166.000000"- Server Rules:");
    
PlayerTextDrawBackgroundColor(playerid,help[6], 255);
    
PlayerTextDrawFont(playerid,help[6], 3);
    
PlayerTextDrawLetterSize(playerid,help[6], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[6], -1);
    
PlayerTextDrawSetOutline(playerid,help[6], 0);
    
PlayerTextDrawSetProportional(playerid,help[6], 1);
    
PlayerTextDrawSetShadow(playerid,help[6], 1);
    
help[7] = CreatePlayerTextDraw(playerid,106.000000193.000000"- Companies:");
    
PlayerTextDrawBackgroundColor(playerid,help[7], 255);
    
PlayerTextDrawFont(playerid,help[7], 3);
    
PlayerTextDrawLetterSize(playerid,help[7], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[7], -1);
    
PlayerTextDrawSetOutline(playerid,help[7], 0);
    
PlayerTextDrawSetProportional(playerid,help[7], 1);
    
PlayerTextDrawSetShadow(playerid,help[7], 1);
    
help[8] = CreatePlayerTextDraw(playerid,106.000000221.000000"- Houses:");
    
PlayerTextDrawBackgroundColor(playerid,help[8], 255);
    
PlayerTextDrawFont(playerid,help[8], 3);
    
PlayerTextDrawLetterSize(playerid,help[8], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[8], -1);
    
PlayerTextDrawSetOutline(playerid,help[8], 0);
    
PlayerTextDrawSetProportional(playerid,help[8], 1);
    
PlayerTextDrawSetShadow(playerid,help[8], 1);
    
help[9] = CreatePlayerTextDraw(playerid,106.000000248.000000"- Vehicles:");
    
PlayerTextDrawBackgroundColor(playerid,help[9], 255);
    
PlayerTextDrawFont(playerid,help[9], 3);
    
PlayerTextDrawLetterSize(playerid,help[9], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[9], -1);
    
PlayerTextDrawSetOutline(playerid,help[9], 0);
    
PlayerTextDrawSetProportional(playerid,help[9], 1);
    
PlayerTextDrawSetShadow(playerid,help[9], 1);
    
help[10] = CreatePlayerTextDraw(playerid,106.000000276.000000"- Jobs:");
    
PlayerTextDrawBackgroundColor(playerid,help[10], 255);
    
PlayerTextDrawFont(playerid,help[10], 3);
    
PlayerTextDrawLetterSize(playerid,help[10], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[10], -1);
    
PlayerTextDrawSetOutline(playerid,help[10], 0);
    
PlayerTextDrawSetProportional(playerid,help[10], 1);
    
PlayerTextDrawSetShadow(playerid,help[10], 1);
    
help[11] = CreatePlayerTextDraw(playerid,106.000000306.000000"- Organizations:");
    
PlayerTextDrawBackgroundColor(playerid,help[11], 255);
    
PlayerTextDrawFont(playerid,help[11], 3);
    
PlayerTextDrawLetterSize(playerid,help[11], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[11], -1);
    
PlayerTextDrawSetOutline(playerid,help[11], 0);
    
PlayerTextDrawSetProportional(playerid,help[11], 1);
    
PlayerTextDrawSetShadow(playerid,help[11], 1);
    
help[12] = CreatePlayerTextDraw(playerid,106.000000387.000000"- Plans vip:");
    
PlayerTextDrawBackgroundColor(playerid,help[12], 255);
    
PlayerTextDrawFont(playerid,help[12], 3);
    
PlayerTextDrawLetterSize(playerid,help[12], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[12], -1);
    
PlayerTextDrawSetOutline(playerid,help[12], 0);
    
PlayerTextDrawSetProportional(playerid,help[12], 1);
    
PlayerTextDrawSetShadow(playerid,help[12], 1);
    
help[13] = CreatePlayerTextDraw(playerid,106.000000333.000000"- Commands:");
    
PlayerTextDrawBackgroundColor(playerid,help[13], 255);
    
PlayerTextDrawFont(playerid,help[13], 3);
    
PlayerTextDrawLetterSize(playerid,help[13], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[13], -1);
    
PlayerTextDrawSetOutline(playerid,help[13], 0);
    
PlayerTextDrawSetProportional(playerid,help[13], 1);
    
PlayerTextDrawSetShadow(playerid,help[13], 1);
    
help[14] = CreatePlayerTextDraw(playerid,106.000000359.000000"- Team");
    
PlayerTextDrawBackgroundColor(playerid,help[14], 255);
    
PlayerTextDrawFont(playerid,help[14], 3);
    
PlayerTextDrawLetterSize(playerid,help[14], 0.2800001.300000);
    
PlayerTextDrawColor(playerid,help[14], -1);
    
PlayerTextDrawSetOutline(playerid,help[14], 0);
    
PlayerTextDrawSetProportional(playerid,help[14], 1);
    
PlayerTextDrawSetShadow(playerid,help[14], 1);
    
help[15] = CreatePlayerTextDraw(playerid,316.000000115.000000"SERVER");
    
PlayerTextDrawBackgroundColor(playerid,help[15], -1);
    
PlayerTextDrawFont(playerid,help[15], 1);
    
PlayerTextDrawLetterSize(playerid,help[15], 0.3100001.499999);
    
PlayerTextDrawColor(playerid,help[15], -16776961);
    
PlayerTextDrawSetOutline(playerid,help[15], 1);
    
PlayerTextDrawSetProportional(playerid,help[15], 1);
    
help[16] = CreatePlayerTextDraw(playerid,357.000000115.000000"ROLEPLAY");
    
PlayerTextDrawBackgroundColor(playerid,help[16], -1);
    
PlayerTextDrawFont(playerid,help[16], 1);
    
PlayerTextDrawLetterSize(playerid,help[16], 0.3100001.499999);
    
PlayerTextDrawColor(playerid,help[16], 16711935);
    
PlayerTextDrawSetOutline(playerid,help[16], 1);
    
PlayerTextDrawSetProportional(playerid,help[16], 1);
    
help[17] = CreatePlayerTextDraw(playerid,318.000000130.000000"Simulation of real life.");
    
PlayerTextDrawBackgroundColor(playeridhelp[17], 255);
    
PlayerTextDrawFont(playerid,help[17], 2);
    
PlayerTextDrawLetterSize(playerid,help[17], 0.1900000.899999);
    
PlayerTextDrawColor(playerid,help[17], -1);
    
PlayerTextDrawSetOutline(playerid,help[17], 0);
    
PlayerTextDrawSetProportional(playerid,help[17], 1);
    
PlayerTextDrawSetShadow(playerid,help[17], 1);
    
help[18] = CreatePlayerTextDraw(playerid,227.000000155.000000"- INFORMATIONS -");
    
PlayerTextDrawBackgroundColor(playerid,help[18], 255);
    
PlayerTextDrawFont(playerid,help[18], 2);
    
PlayerTextDrawLetterSize(playerid,help[18], 0.3400001.100000);
    
PlayerTextDrawColor(playerid,help[18], -1);
    
PlayerTextDrawSetOutline(playerid,help[18], 1);
    
PlayerTextDrawSetProportional(playerid,help[18], 1);
    
help[19] = CreatePlayerTextDraw(playerid,246.000000409.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,help[19], -1);
    
PlayerTextDrawFont(playerid,help[19], 2);
    
PlayerTextDrawLetterSize(playerid,help[19], 0.2000000.899999);
    
PlayerTextDrawColor(playerid,help[19], -1);
    
PlayerTextDrawSetOutline(playerid,help[19], 0);
    
PlayerTextDrawSetProportional(playerid,help[19], 1);
    
PlayerTextDrawSetShadow(playerid,help[19], 0);
    
help[20] = CreatePlayerTextDraw(playerid,525.000000113.000000"X");
    
PlayerTextDrawBackgroundColor(playerid,help[20], -1);
    
PlayerTextDrawFont(playerid,help[20], 1);
    
PlayerTextDrawLetterSize(playerid,help[20], 0.5000001.000000);
    
PlayerTextDrawColor(playerid,help[20], -16776961);
    
PlayerTextDrawSetOutline(playerid,help[20], 1);
    
PlayerTextDrawSetProportional(playerid,help[20], 1);
    
PlayerTextDrawSetSelectable(playerid,help[20], 0);
    
////////////////////////////////////////////////////////////////////////////
    
Info[0] = CreatePlayerTextDraw(playerid,232.000000182.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,Info[0], 255);
    
PlayerTextDrawFont(playerid,Info[0], 1);
    
PlayerTextDrawLetterSize(playerid,Info[0], 0.2800001.000000);
    
PlayerTextDrawColor(playerid,Info[0], -1);
    
PlayerTextDrawSetOutline(playerid,Info[0], 0);
    
PlayerTextDrawSetProportional(playerid,Info[0], 1);
    
PlayerTextDrawSetShadow(playerid,Info[0], 1);
    
Info[1] = CreatePlayerTextDraw(playerid,232.000000225.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,Info[1], 255);
    
PlayerTextDrawFont(playerid,Info[1], 1);
    
PlayerTextDrawLetterSize(playerid,Info[1], 0.2800001.000000);
    
PlayerTextDrawColor(playerid,Info[1], -1);
    
PlayerTextDrawSetOutline(playerid,Info[1], 0);
    
PlayerTextDrawSetProportional(playerid,Info[1], 1);
    
PlayerTextDrawSetShadow(playerid,Info[1], 1);
    
Info[2] = CreatePlayerTextDraw(playerid,232.000000278.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,Info[2], 255);
    
PlayerTextDrawFont(playerid,Info[2], 1);
    
PlayerTextDrawLetterSize(playerid,Info[2], 0.2500001.000000);
    
PlayerTextDrawColor(playerid,Info[2], -1);
    
PlayerTextDrawSetOutline(playerid,Info[2], 0);
    
PlayerTextDrawSetProportional(playerid,Info[2], 1);
    
PlayerTextDrawSetShadow(playerid,Info[2], 1);
    
Info[3] = CreatePlayerTextDraw(playerid,232.000000330.000000"_");
    
PlayerTextDrawBackgroundColor(playerid,Info[3], 255);
    
PlayerTextDrawFont(playerid,Info[3], 1);
    
PlayerTextDrawLetterSize(playerid,Info[3], 0.2800001.000000);
    
PlayerTextDrawColor(playerid,Info[3], -1);
    
PlayerTextDrawSetOutline(playerid,Info[3], 0);
    
PlayerTextDrawSetProportional(playerid,Info[3], 1);
    
PlayerTextDrawSetShadow(playerid,Info[3], 1);
    
////////////////////////////////////////////////////////////////////////////
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[20], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[5], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[6], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[7], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[8], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[9], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[10], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[11], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[12], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[13], true);
    
PlayerTextDrawSetSelectable(playeridPlayerText:help[14], true);
    return 
1;
}
public 
OnPlayerClickPlayerTextDraw(playeridPlayerText:playertextid)
{
    if(
playertextid == PlayerText:help[20])
    {
            for(new 
021i++) PlayerTextDrawHide(playerid,help[i]);
            for(new 
04i++) PlayerTextDrawHide(playerid,Info[i]);
            
CancelSelectTextDraw(playerid);
            return 
1;
    }
    if(
playertextid == PlayerText:help[5])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server..");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server..");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server..");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server..");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[6])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Place a server rules.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Place a server rules.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Place a server rules.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Place a server rules.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[7])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server company.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server company.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server company.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server company.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[8])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server houses.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server houses.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server houses.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server houses.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[9])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server vehicles.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server vehicles.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server vehicles.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server vehicles.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[10])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server jobs.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server jobs.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server jobs.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server jobs.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[11])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about the server organizations.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about the server organizations.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about the server organizations.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about the server organizations.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[13])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Place the server commands.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Place the server commands");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Place the server commands.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Place the server commands.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[14])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Founders: Names.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Mappers: Names.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Auxiliary: Names.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Administrators: Names.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    if(
playertextid == PlayerText:help[12])
    {
            for(new 
04i++) PlayerTextDrawShow(playerid,Info[i]);
            
format(Msgsizeof(Msg), "1 - Put here something about vip advantages of server.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[0], Msg);
            
format(Msgsizeof(Msg), "2 - Put here something about vip advantages of server.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[1], Msg);
            
format(Msgsizeof(Msg), "3 - Put here something about vip advantages of server.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[2], Msg);
            
format(Msgsizeof(Msg), "4 - Put here something about vip advantages of server.");
            
PlayerTextDrawSetString(playeridPlayerText:Info[3], Msg);
    }
    return 
1;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 



Re: Command helps in TextDraw. - HaRdiiZin - 24.05.2015

Nice


Re: Command helps in TextDraw. - lanix - 24.05.2015

Simple,but nice


Re: Command helps in TextDraw. - UltraScripter - 24.05.2015

good job