Raised This Month: $ Target: $400
 0% 

[HELP] Error compile Space


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-22-2015 , 15:14   Re: [HELP] Error compile Space
Reply With Quote #3

If you read what the compiler tells you then you could quickly find this stuff on your own.
Code:
Error: Multi-dimensional arrays must be fully initialized on line 17
Error: Undefined symbol "vomit_sounds" on line 129
Error #1
You cannot do this:
PHP Code:
new const explode_sounds][ ] =  "zombie_plague/explo_medium_09.wav" 
If you define an array that is pre-polulated, you must fully populate every string. Replace with:

PHP Code:
new const explode_sounds[ ] =  "zombie_plague/explo_medium_09.wav" 
You then need to adjust functions that use this:
PHP Code:
emit_soundidCHAN_STREAMexplode_sounds1.0ATTN_NORM0PITCH_HIGH 
Error #2
vomit_sounds does not exist. You either need to define it, or comment it out.
PHP Code:
//emit_sound( id, CHAN_STREAM, vomit_sounds[ random_num( 0, 2 ) ], 1.0, ATTN_NORM, 0, PITCH_HIGH ) 
__________________

Last edited by Bugsy; 11-22-2015 at 15:15.
Bugsy 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 18:05.


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