Raised This Month: $ Target: $400
 0% 

Solved Orpheu & WeaponBox


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-15-2018 , 07:17   Re: Orpheu & WeaponBox
Reply With Quote #1

Quote:
Originally Posted by edon1337 View Post
PHP Code:
virtual void Killed(entvars_t *pevAttackerint iGib); 
but I have it in orpheu/functions/CWeaponBox !?

Doesn't being a virtual function mean being in orpheu/virtualFunctions ?
You are looking at the wrong class. This one is from class CGrenade, but you want CWeaponBox class.
__________________

Last edited by HamletEagle; 07-15-2018 at 07:18.
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-15-2018 , 07:38   Re: Orpheu & WeaponBox
Reply With Quote #2

Quote:
Originally Posted by HamletEagle View Post
You are looking at the wrong class. This one is from class CGrenade, but you want CWeaponBox class.
Ah, you're right
PHP Code:
class CWeaponBox: public CBaseEntity
void EXPORT Kill
(); 
Thanks a bunch!
__________________
edon1337 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:39.


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