[DUV]Mensagem Anuncio
#3

Ou tmb:

Code:
//no topo
forward RandomMSGs();


new MSGs[nєde msg][256] = {
"O que queres que apareca",
"O que queres que apareca",
"O que queres que apareca",
"O que queres que apareca",
"O que queres que apareca",
"O que queres que apareca"};
new COLORS[] = {
//aki metes as cores que queres que as msg tenham

//no OnGameModeInit
SetTimer("RandomMSGs",60000,1);

//Public
public RandomMSGs()
{
new string[256];
new random1 = random(sizeof(MSGs));
new random2 = random(sizeof(COLORS));
format(string, sizeof(string), "%s", MSGs[random1]);
SendClientMessageToAll(COLORS[random2],string);
return 1;
}
Reply


Messages In This Thread
[DUV]Mensagem Anuncio - by netado - 05.01.2010, 16:04
Re: [DUV]Mensagem Anuncio - by [O_o]Davidovich - 05.01.2010, 16:12
Re: [DUV]Mensagem Anuncio - by Ambrуsio - 05.01.2010, 16:16
Re: [DUV]Mensagem Anuncio - by netado - 05.01.2010, 16:21
Re: [DUV]Mensagem Anuncio - by [VGS]Protioso - 05.01.2010, 16:22
Re: [DUV]Mensagem Anuncio - by netado - 05.01.2010, 16:23
Re: [DUV]Mensagem Anuncio - by gangster_PT - 05.01.2010, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)