Forum

> > CS2D > General > Beta 0.1.2.0 Suggestions & Ideas
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Beta 0.1.2.0 Suggestions & Ideas

1,972 replies
Page
To the start Previous 1 265 66 6798 99 Next To the start

old Re: Beta 0.1.2.0 Suggestions & Ideas

Apache uwu
User Off Offline

Quote
user Vectarrio has written
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)

old Re: Beta 0.1.2.0 Suggestions & Ideas

Hador
User Off Offline

Quote
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.

old Re: Beta 0.1.2.0 Suggestions & Ideas

Apache uwu
User Off Offline

Quote
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.

old Re: Beta 0.1.2.0 Suggestions & Ideas

danh
User Off Offline

Quote
user Apache uwu has written
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

old Re: Beta 0.1.2.0 Suggestions & Ideas

Yates
Reviewer Off Offline

Quote
user danh has written
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).

old Re: Beta 0.1.2.0 Suggestions & Ideas

danh
User Off Offline

Quote
user Yates has written
user danh has written
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..

old Re: Beta 0.1.2.0 Suggestions & Ideas

Yates
Reviewer Off Offline

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

But then I guess you wouldn't be able to do a lot of stuff with it.
To the start Previous 1 265 66 6798 99 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview