Look for a comment about iuser3. If my memory is good, iuser3 (or iuser4)
stores the Duck/Unduck state of the player.
- Cortex : HL ALBATOR coder & mapper
- [EMAIL PROTECTED] & ICQ : 71548738
Mark Gornall wrote:
> Hi,
> Is there a simple way to make the duck hold for a certain time once
> the duck key has been pressed. By default it just drops out
> immediately and you stand right back up.
> The only way I got it to work for a set time was to change the
> client input code so that forces an 'in_duck' keypress for the time
> period, but I'm not really happy with that way since I want control
> of the process on the server if possible.
> If I try to force pev->button |= IN_DUCK; on the server it doesn't
> work, the player still stands up as soon as the duck key is released?
>
> Thanks
> Mark.
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders