Raised This Month: $ Target: $400
 0% 

Few errors, Any help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-19-2014 , 19:30   Re: Few errors, Any help?
Reply With Quote #1

Either block_type exceeds the size of g_property1_name or property exceeds the size of g_szWeaponNames2. You will need to debug it to determine which one is causing it
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
proffs
Senior Member
Join Date: Jul 2013
Old 07-19-2014 , 19:47   Re: Few errors, Any help?
Reply With Quote #2

Quote:
Originally Posted by YamiKaitou View Post
Either block_type exceeds the size of g_property1_name or property exceeds the size of g_szWeaponNames2. You will need to debug it to determine which one is causing it
How can It exceed the size of those too if I've got it like this?
PHP Code:
#define WEAPON_SIZE sizeof(g_szWeaponNames)
 
new const g_iWeaponIDs[WEAPON_SIZE] =
{
        
CSW_P228,
        
CSW_SCOUT,
        
CSW_HEGRENADE,
        
CSW_XM1014,
        
CSW_MAC10,
        
CSW_AUG,
        
CSW_SMOKEGRENADE,
        
CSW_ELITE,
        
CSW_FIVESEVEN,
        
CSW_UMP45,
        
CSW_SG550,
        
CSW_GALIL,
        
CSW_FAMAS,
        
CSW_USP,
        
CSW_GLOCK18,
        
CSW_AWP,
        
CSW_MP5NAVY,
        
CSW_M249,
        
CSW_M3,
        
CSW_M4A1,
        
CSW_TMP,
        
CSW_G3SG1,
        
CSW_FLASHBANG,
        
CSW_DEAGLE,
        
CSW_SG552,
        
CSW_AK47,
        
CSW_P90
};

new const 
g_szWeaponNames2[WEAPON_SIZE][] =
{
        
"P228",
        
"Scout",              
        
"He-Grenade",              
        
"XM1014",                    
        
"Mac10",            
        
"Aug",
        
"Smoke-Grenade",            
        
"Elite",          
        
"Fiveseven",
        
"Ump45",              
        
"SG550",
        
"Galil",  
        
"Famas",
        
"USP",  
        
"Glock",  
        
"AWP",  
        
"MP5",    
        
"M249",            
        
"M3",  
        
"M4A1",                
        
"TMP",      
        
"G3SG1",    
        
"FlashBang",            
        
"Deagle",
        
"SG552",
        
"AK47",                  
        
"P90"
}; 
PHP Code:
enum
{
        
PLATFORM,
        
BUNNYHOP,
        
DAMAGE,
        
HEALER,
        
NO_FALL_DAMAGE,
        
ICE,
        
TRAMPOLINE,
        
SPEED_BOOST,
        
DEATH,
        
LOW_GRAVITY,
        
SLAP,
        
HONEY,
        
CT_BARRIER,
        
T_BARRIER,
        
GLASS,
        
NO_SLOW_DOWN_BUNNYHOP,
        
DELAYED_BUNNYHOP,
        
INVINCIBILITY,
        
STEALTH,
        
BOOTS_OF_SPEED,
        
CAMOUFLAGE//CAMOUFLAGE
        
SUPERMAN//SUPERMAN
        
AWP//AWP
        
DEAGLE//DEAGLE
        
SHOTGUN//SHOTGUN
        
RIFLES//RIFLES
        
PISTOLS//PISTOLS
        
HE_GRENADE//HE_GRENADE
        
FLASHBANG//FLASHBANG
        
SMOKE_GRENADE//SMOKEGRENADE
        
NADES//NADES
        
DUCK//DUCK
        
MONEYGIVER//MONEYGIVER
        
BLINDTRAP//BLIND
        
POISON//POISON
        
ANTIDOTE//ANTIDOTE
        
SUFFER//SUFFER
        
XP//XP
        
ARMOR//ARMOR
        
QUAKE//QUAKE
        
MUSIC//MUSIC
        
WEAPON_BLOCK,
        
ICEBHOP,
       
        
TOTAL_BLOCKS
}; 
proffs 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 13:19.


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