Forum

> > CS2D > Scripts > Add news cmd in fairy admin script ?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Add news cmd in fairy admin script ?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Add news cmd in fairy admin script ?

_Yank
User Off Offline

Zitieren
@Ajmin: Yeah, there is but for scripters only, the other one (the one for casual users) is only for simple commands.

@user Kirito2K: I might add a feature like this on the update I'm going to release, just wait a little bit.

alt Re: Add news cmd in fairy admin script ?

Joni And Friends
User Off Offline

Zitieren
Maybe you can use file Datei existiert nicht (15866) and put new command on there with this code
1
2
3
4
5
6
7
8
9
{cmd="!news",
          action=function(id,txt,b,c)
            for g=1,32 do
                 if player(g,"exists") then
                     parse('hudtxt2 '..g..' 40 "News: '..txt:sub(7,#txt)..'" 640 0')
                     parse('hudtxtmove '..g..' 40 20000 -640 0')
            end
      end
end};

alt Re: Add news cmd in fairy admin script ?

eledah
User Off Offline

Zitieren
Defining the command, make sure there isn't another command[31] defined in your code
Spoiler >


And the function
Spoiler >
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht