Very quick question, about textdraws
#4

Quote:
Originally Posted by admantis
Посмотреть сообщение
pawn Код:
public TextdrawChange()
{
    new new_txt = random(6);
    switch(new_txt)
    {
        case 0: TextDrawSetString(Textdraw0,"You are playing xxxxxxxxxxx");
        case 1: TextDrawSetString(Textdraw0,"Spotted a cheater? Use /report to report him!");
        case 2: TextDrawSetString(Textdraw0,"Are you lost? Use the command /help for common commands");
        case 3: TextDrawSetString(Textdraw0,"Remember to donate to keep the server alive!");
        case 4: TextDrawSetString(Textdraw0,"Do not ask administrator status, money or permissons!");
        case 5: TextDrawSetString(Textdraw0,"Remember to always follow rules of the server!");
    }
}
Will that follow the same syntax?
Yes it will, I tested this one

pawn Код:
function TextdrawChange()
{
    new new_txt = random(6);
    switch(new_txt)
    {
        case 0: TextDrawSetString(Textdraw0,"You are playing xxx~b~xxxx~w~xxxx");
        case 1: TextDrawSetString(Textdraw0,"Spotted a ~r~cheater? Use /~b~report to report him!");
        case 2: TextDrawSetString(Textdraw0,"Are you~b~ lost? Use the command /help for common commands");
        case 3: TextDrawSetString(Textdraw0,"Remember to donate to keep the server alive!");
        case 4: TextDrawSetString(Textdraw0,"Do not ask administrator~b~ status, money or permissons!");
        case 5: TextDrawSetString(Textdraw0,"Remember to always ~b~follow rules of the server!");
    }
}
http://images.breakdown-rp.net/a1-mp-007.png
Reply


Messages In This Thread
Very quick question, about textdraws - by admantis - 07.01.2011, 01:55
Re: Very quick question, about textdraws - by Souvlaki - 07.01.2011, 02:04
Re: Very quick question, about textdraws - by admantis - 07.01.2011, 02:07
Re: Very quick question, about textdraws - by Souvlaki - 07.01.2011, 02:38
Re: Very quick question, about textdraws - by admantis - 07.01.2011, 02:47

Forum Jump:


Users browsing this thread: 1 Guest(s)