[AYUDAME] Buscando fs.
#5

pawn Код:
//texto de juego
        if(strcmp(cmd, "/texto", true) == 0)
        {
            new estilo;
            new tiempo;
            new mensaje[256];
            cmd = strtok(cmdtext, idx);
            if(!strlen(cmd))
            {
                SendClientMessage(playerid, COLOR_BLANCO, "Usa: /texto [Estilo] [Duracion(En Segundos)] [Mensaje]");
                return 1;
            }
            estilo = strval(cmd);
            if(estilo == 2)
            {
                SendClientMessage(playerid,COLOR_VERDE, "No puedes usar el estilo #2");
              return 1;
            }
            cmd = strtok(cmdtext, idx);
            if(!strlen(cmd))
            {
                SendClientMessage(playerid,COLOR_VERDE, "Usa: /texto [Estilo] [Duracion(En Segundos)] [Mensaje]");
            return 1;
            }
            tiempo = strval(cmd);
            mensaje = strrest(cmdtext,idx);
            if(!strlen(mensaje))
            {
                SendClientMessage(playerid,COLOR_VERDE,"Usa: /texto [Estilo] [Duracion(En Segundos)] [Mensaje]");
                return 1;
            }
            GameTextForAll(mensaje,(tiempo * 1000),estilo);
        return 1;
        }
lo agregas en el nivel que lo quieras, recomendado el nivel 3
Reply


Messages In This Thread
[AYUDAME] Buscando fs. - by luillixd - 23.04.2010, 01:46
Re: [AYUDAME] Buscando fs. - by TheChaoz - 23.04.2010, 02:09
Re: [AYUDAME] Buscando fs. - by luillixd - 23.04.2010, 02:18
Re: [AYUDAME] Buscando fs. - by TheChaoz - 23.04.2010, 03:51
Re: [AYUDAME] Buscando fs. - by camiloasc1 - 23.04.2010, 20:17
Re: [AYUDAME] Buscando fs. - by luillixd - 23.04.2010, 23:31
Re: [AYUDAME] Buscando fs. - by Pandax - 23.04.2010, 23:56

Forum Jump:


Users browsing this thread: 1 Guest(s)