Quote:
Originally Posted by Whatname
PHP код:
new rand = random(5);
switch(rand)
{
case 0: format(m,sizeof(m),"Your first name is {00FF00}%s",firstname); //green
case 1: format(m,sizeof(m),"Your first name is {FF0000}%s",firstname); //red
case 2: format(m,sizeof(m),"Your first name is {FFFF00}%s",firstname); //yellow
//etc
}
ShowPlayerDialog(playerid, dialogid, type, "header", m, "Ok", "");
|
i said how to divide first name and last name -_-