Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Ideas for CS2D - READ THE FIRST POST (OP)!

3.231 Antworten
Seite
Zum Anfang Vorherige 1 2112 113 114161 162 Nächste Zum Anfang

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Rainoth
Moderator Off Offline

Zitieren
@user Yates: Probably because some commands don't actually require id. Actually, the majority of them.
It would be slightly faster if it was an optional param but whatever.
@user Masea: IKR. I thought it would be easy cause you could do weather effects (especially fog/dust) on the go, otherwise you'd have to pre-define them in every position you might want to have them in.
Or looping map with palms...

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Zitieren
@user Yates: cs2d lua hook parse is just a server-side command handler, if you want to know who used a rcon command you'd have to use cs2d lua hook rcon.
There is no way to handle commands used by the client, and even if there was, it shouldn't be cs2d lua hook parse because it could break security of the already existing Lua scripts.
1× editiert, zuletzt 12.09.16 23:14:35

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Masea
Super User Off Offline

Zitieren
user Rainoth hat geschrieben
@user Masea: IKR. I thought it would be easy cause you could do weather effects (especially fog/dust) on the go, otherwise you'd have to pre-define them in every position you might want to have them in.
Or looping map with palms...
While coding some stuff in lua and if that needs anything to do in editor, then the way which me is on makes me boring. Because two of them are the separete things and I don't find that way correct. Regardless, would be good if difficulties are at the lowest fold whenever I code.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Masea
Super User Off Offline

Zitieren
"checkfow" function, makes the posibility for the someone to if another selected player on the his visual angle. This will only work if the fog of war is opened.

1
if checkfow(1, 2) then
If I'll use this code, then the following code won't work if the second player(ID 2) not on the first player's(ID 1) visual angle.

If you guys didn't understand me well then let me give you an image to get it into your mind:
As you can see, if there was the function that I did want, we couldn't see the $3100 txt on our screen.

By the way I'm not thinking that I did find the correct name for the function at all
Zum Anfang Vorherige 1 2112 113 114161 162 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht