This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: razermamba
Forum: Module Coding 06-15-2015, 17:57
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

Do you have any piece of code for that please? I would like to get the muzzleflash origin using GetBonePosition or GetAttachment.
Forum: Module Coding 06-14-2015, 05:38
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

Is it possible to get the ID of weaponmodel(p_model) of the weapon?
Forum: Module Coding 06-13-2015, 20:36
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

Posted code works like a charm :) seems like just for func call does not matter if it is split or not. I need it for SetAnimation for player. I have not seen any problems with that yet. Animations...
Forum: Module Coding 06-13-2015, 19:49
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

Then why is it in native prototype?

/**
* Attaches okapi to a method (class member function) so you can hook it and call it
*
* @param ptr the address of the method
*...
Forum: Module Coding 06-13-2015, 18:10
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

new func_setanimation_ptr;

new okapi_func:set_animation;

public plugin_precache()
{
func_setanimation_ptr = okapi_mod_get_symbol_ptr("_ZN11CBasePlayer12SetAnimationE11PLAYER_ANIM");
}...
Forum: Module Coding 06-12-2015, 15:08
Replies: 127
Views: 73,413
Posted By razermamba
Re: Module: Okapi

Hello. I like okapi and my question is how to hook class method, for example void CBasePlayer::SetAnimation( PLAYER_ANIM playerAnim ) and how to call it with okapi. Thank you :)
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 14:30.


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