[AYUDA] Problema con sistema de loterнa
#3

pawn Код:
stock ComienzoSorteo()
{
    new ab = random(50);
    new c=0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(Numero[i]== ab)
            {
                c++;
                Ganador(i);
            }
        }
    }
    if(c==0) NoGano(ab);
    new st[128 char];
    format(st,128,"LOTTO~n~~n~NUMERO GANADOR ~b~ %i",ab);
    TextDrawSetString(TDLOTO,st);
    return 1;
}
Reply


Messages In This Thread
[AYUDA] Problema con sistema de loterнa - by godoy32 - 19.01.2013, 23:44
Respuesta: [AYUDA] Problema con sistema de loterнa - by iKeN - 20.01.2013, 00:52
Respuesta: [AYUDA] Problema con sistema de loterнa - by Adoniiz - 20.01.2013, 00:54
Respuesta: [AYUDA] Problema con sistema de loterнa - by godoy32 - 20.01.2013, 01:36

Forum Jump:


Users browsing this thread: 1 Guest(s)