View Single Post
Re: Hooking into HL2 DLL ?
Old
  (#21)
dub
Member
 
dub's Avatar
 
Status: Offline
Posts: 89
Join Date: Aug 2004
Location: UK
Default Re: Hooking into HL2 DLL ? - 18-01-2005

Quote:
ugly, and won't work on Linux.
yeah, i need some linux/unix coding practice, never coded in linux/unix enviroment before.

found in CBasePlayer, might help.
Code:
 // Run a user command. The default implementation calls ::PlayerRunCommand. In TF, this controls a vehicle if
 	// the player is in one.
 virtual void			PlayerRunCommand (CUserCmd *ucmd, IMoveHelper *moveHelper);
only problem is, i think this is for vehicles only. I tried with passing NULL on the movehelper and hl crashed :'(.


Dubb`s Coding Cave WiP - YeGods - Free Image hosting
4u-servers.co.uk : YeGods Gin Palace II - Refloated - 195.20.108.30:27025
  
Reply With Quote