Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] 3d dynamic array


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

Hello, I'm getting some trouble with 3d arrays. This is the code I'm using:

Code:
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, }; 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" } }

Output:
Code:
sound/weapons/oy1.wav
sound/weapons/.wav
sound/weapons/all1.wav
sound/weapons/h1.wav
sound/weapons/h2.wav
__________________









Last edited by CrazY.; 06-27-2018 at 20:41.
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