Arkshine / Ankh

All-in-One utilities AMX Mod X module.
1 stars 2 forks source link

newmovevars per player! #18

Open joropito opened 11 years ago

Arkshine commented 11 years ago

It will require hooking several functions, are we ok with that ?

joropito commented 11 years ago

ppmove->movevars has the address of global movevars struct. I guess if it's useful

if hook is needed should be put in the hook list to be reviewed

Arkshine commented 11 years ago

You need to send also SVC_NEWMOVEVARS on a specific player, and because of that, it requires you hook several function to get it working properly.

Here a proper method : https://forums.alliedmods.net/showpost.php?p=1943812&postcount=50

joropito commented 11 years ago

Sending it's easy, the thing is to block the one sent by engine.

Arkshine commented 11 years ago

What I'm saying. Which is not the problem itself, just we need a library to hook non-pfn functions.