Forum

> > CS2D > General > Beta 0.1.2.0 Suggestions & Ideas
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Beta 0.1.2.0 Suggestions & Ideas

1.972 Antworten
Seite
Zum Anfang Vorherige 1 265 66 6798 99 Nächste Zum Anfang

alt Re: Beta 0.1.2.0 Suggestions & Ideas

Apache uwu
User Off Offline

Zitieren
user Vectarrio hat geschrieben
I need some hook like "attack" hook, but actually BEFORE player attacks. I mean, "attack" hook works AFTER player attacks, so, if player shot HE, that HE will be gone when hook "attack" activates. For example, player shoots HE, and function player(id,"wpntype") in hook "attack" will return weapon player got AFTER he shot that HE. And, if that hook is going to be added, add a return cmd:
1 - don't shoot
0 - proceed normally.

P.S. damn, why did I make such a long post?


imho: bad idea, that will cause lags

Maybe a command to prevent them from shooting.

1
setAttackState(id,1/0)

alt Re: Beta 0.1.2.0 Suggestions & Ideas

Hador
User Off Offline

Zitieren
it should be easier than having to add a completely new function; all you would really have to do is disable the "attack"-command for the Player. Not sure if there is a function for that, though.

alt Re: Beta 0.1.2.0 Suggestions & Ideas

Apache uwu
User Off Offline

Zitieren
Return types are for commands that await confirmation from the server--such as talking, radio, and other actions.

Attacking shouldn't be one of the actions, reason is because any gun that shoots fast will be delayed because of the "confirmation" it must past first.

A simple toggle function is good enough as it will only send one packet.

alt Re: Beta 0.1.2.0 Suggestions & Ideas

danh
User Off Offline

Zitieren
user Apache uwu hat geschrieben
oo so a typing hook...

ex.

1
addhook("typing","_typing")

It's triggered when a user opens [z] chat box and starts typing...


yeh it shud happen anyway, and yay to moar effex

alt Re: Beta 0.1.2.0 Suggestions & Ideas

Yates
Reviewer Off Offline

Zitieren
user danh hat geschrieben
no, b4 they say somthing, while theyre typing

Would be good when someone is going to kill you. But let's you talk first.

(Happens to me a lot).

alt Re: Beta 0.1.2.0 Suggestions & Ideas

danh
User Off Offline

Zitieren
user Yates hat geschrieben
user danh hat geschrieben
no, b4 they say somthing, while theyre typing

Would be good when someone is going to kill you. But let's you talk first.

(Happens to me a lot).


yeeeeaaaaahhhh..

alt Re: Beta 0.1.2.0 Suggestions & Ideas

Yates
Reviewer Off Offline

Zitieren
Would be great if Lua was more like Pawn (Or Pawno).
(Go look at it, it's simple).
Mehr >

But then I guess you wouldn't be able to do a lot of stuff with it.
Zum Anfang Vorherige 1 265 66 6798 99 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht