Raised This Month: $95 Target: $400
 23% 

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Leonidddd
Forum: Scripting Help 09-13-2019, 11:03
Replies: 3
Views: 659
Posted By Leonidddd
Re: Can't hook +use on ReHLDS

UDP:

/*
* Description: Called when a player press use and if a suitable candidate is not found.
* Return type: void
* Params: (const this)
*/
RG_CBasePlayer_UseEmpty
Forum: Scripting Help 09-11-2019, 23:25
Replies: 3
Views: 659
Posted By Leonidddd
Re: Can't hook +use on ReHLDS

The solution:

public CmdStart_Handler(id, UC_Handle){

if(!is_user_alive(id))
return FMRES_IGNORED;

static OldButton, NewButton;

OldButton = get_member(id, m_afButtonReleased);
Forum: Scripting Help 09-11-2019, 22:36
Replies: 3
Views: 659
Posted By Leonidddd
Re: Can't hook +use on ReHLDS

After some tests with a lot of the logs it seems like

pev(id, pev_oldbuttons) == pev(id, pev_button)

all time while a button is pressed, it doesn't remembering oldbuttons after unpressing...
Forum: Scripting Help 09-11-2019, 22:12
Replies: 3
Views: 659
Posted By Leonidddd
Can't hook +use on ReHLDS

Hi there!

I was writing a one simple plugin for a hooking +use, but stuck on the strange problem. I've tested the same code on HLDS and there was no any problems, but I'm using ReHLDS(with...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 01:18.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode