Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] 3d dynamic array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-27-2018 , 12:08   Re: [ H3LP ] 3d dynamic array
Reply With Quote #5

I believe I need 3d. Here's how I'm using:

Code:
enum _:eKnife {     KNIFE_NAME[32],     KNIFE_SOUND, }; enum _:eKnifeSounds {     SND_KNIFE_DEPLOY = 0,     SND_KNIFE_DEPLOY1,     SND_KNIFE_HIT1,     SND_KNIFE_HIT2,     SND_KNIFE_HIT3,     SND_KNIFE_HIT4,     SND_KNIFE_WALL1,     SND_KNIFE_WALL2,     SND_KNIFE_SLASH1,     SND_KNIFE_SLASH2,     SND_KNIFE_STAB, }; // -1, emit default CS knife sounds new const g_rgKnives[][eKnife] = {     { "Default Knife", -1 },     { "Boxing Gloves", 0 // g_szKnivesSounds[0][eKnifeSounds] },     { "Example", 1 // g_szKnivesSounds[1][eKnifeSounds] } }; new const g_szKnivesSounds[][eKnifeSounds][] = {     { "boxing_deploy1", "boxing_deploy1", "boxing_hit1", "boxing_hit2", "boxing_hit3", "boxing_hit4",     "boxing_hitwall1", "boxing_hitwall1", "boxing_slash1", "boxing_slash2", "boxing_stab" },         { "example_deploy1", "example_deploy1", "example_hit1", "example_hit2", "example_hit3", "example_hit4",     "example_hitwall1", "example_hitwall1", "example_slash1", "example_slash2", "example_stab" } }
__________________









Last edited by CrazY.; 06-27-2018 at 12:20.
CrazY. is offline
 



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:41.


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