random textdraws
#2

pawn Код:
new mrand = random(4);//I don't know how many are here so lets take 5, note that 0 is also counted.
switch(mrand)
{
    case 0:
    {
        LogIn = TextDrawCreate( 0.000000, -5.226698, "loadsc1:loadsc1" );
        TextDrawTextSize( LogIn, 657.600036, 459.200103 );
        TextDrawAlignment( LogIn, 1 );
        TextDrawColor( LogIn, -1 );
        TextDrawFont( LogIn, 4 );
        return 1;
    }
    case 1:
    {
        //create 2nd textdraw
    }
    // and go on
}
Reply


Messages In This Thread
random textdraws - by ancezas - 15.09.2014, 13:02
Re: random textdraws - by IamPRO - 15.09.2014, 13:17
Re: random textdraws - by ikey07 - 15.09.2014, 13:43
Re: random textdraws - by ancezas - 15.09.2014, 15:19
Re: random textdraws - by AroseKhanNiazi - 15.09.2014, 15:24
Re: random textdraws - by ancezas - 15.09.2014, 15:26
Re: random textdraws - by AroseKhanNiazi - 15.09.2014, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)