Raised This Month: $51 Target: $400
 12% 

Brass Knuckle Frags w/ API


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-12-2012 , 02:28   Re: Brass Knuckle Frags
Reply With Quote #11

Please alloc model strings and set models using pev_viewmodel and pev_weaponmodel with cached allocated values, this way you don't alloc and alloc again strings using memory for nothing ( allocated strings are kept in memory after map change !! )

g_iAllocDummy = engfunc(EngFunc_AllocString, "model/dummy.mdl")


set_pev(id, pev_viewmodel, g_iAllocDummy)

or :

set_pev_string(id, pev_viewmodel2, g_iAllocDummy) // that one is not required in that case because pev_viewmodel and pev_viewmodel2 are particular

instead of

set_pev(id, pev_viewmodel, "model/dummy.mdl")
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-12-2012 at 02:31.
ConnorMcLeod is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-13-2012 , 13:22   Re: Brass Knuckle Frags
Reply With Quote #12

UPDATED! v2.3.6

Includes: HotFixes, Powers are now applied directly on purchase (no weapon change needed)
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-20-2012 , 23:17   Re: Brass Knuckle Frags
Reply With Quote #13

UPDATED! v2.4

Includes: Lots and lots of bug fixes. New ML tokens. Optimizations, code readability changes, more comments. New commands, HUD messages, logs, more CVARs. Extra damage is now percentage instead of just damage (this will make it more effective for high damage hits. Headshots give 2 frags instead of 1.

New Commands: /bkfstats and /bkfrank

Let me know what you guys think! This mod is turning into something awesome. With even more awesome things to come!


EDIT: IMPORTANT UPDATE! v2.4.3
includes: HotFix (frags not save properly), HUD color CVARs, /loadfrags client command
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-24-2012 at 15:16.
Liverwiz is offline
DreamWorks
Senior Member
Join Date: Mar 2012
Old 07-02-2012 , 19:56   Re: Brass Knuckle Frags
Reply With Quote #14

Fucking Awesome!
This will be added on my #6 server

Hope it's will be full with players

Last edited by DreamWorks; 07-02-2012 at 19:56.
DreamWorks is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-18-2012 , 14:37   Re: Brass Knuckle Frags w/ API
Reply With Quote #15

UPDATED! v2.5
The biggest update yet. Includes more powers, API, dynamic natives, optimizations, commands, stability improvements, admin messages, level 0 knife skin, more HUD messages, MAXLEVEL define to max out the level in the server, powers menu, separation of powers from core (power levels 1-4 now in separate plugin), more functionality and customization, check the source for complete list.

new commands:
/powers /removepower
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz 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 04:56.


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