Raised This Month: $ Target: $400
 0% 

Compiler problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Aluta
Junior Member
Join Date: Jul 2010
Old 07-27-2010 , 15:46   Compiler problem
Reply With Quote #1

Hi guys

I want to delete one of the blocks from the plugin but i get every time a error. Plz Help

Original Plugin

Code:
new const gszBlockNames[gBlockMax][32] =
{
    "Platform",
    "Bunnyhop",
    "Damage",
    "Healer",
    "No Fall Damage",
    "Ice",
    "Trampoline",
    "Speed Boost",
    "Invincibility",
    "Stealth",
    "Death",
    "Nuke",
    "Camouflage",
    "Low Gravity",
    "Fire",
    "Slap",
    "Random",
    "Honey",
    "CT Barrier",
    "T Barrier",
    "Boots Of Speed",
    "Glass",
    "Bunnyhop (No slow down)",
    "Auto Bunnyhop"
};
Error Plugin (without "Invincibility")

I deleted all of the "Invincibility" things out of the plugin
Code:
new const gszBlockNames[gBlockMax][32] =
{
    "Platform",
    "Bunnyhop",
    "Damage",
    "Healer",
    "No Fall Damage",
    "Ice",
    "Trampoline",
    "Speed Boost",
    "Stealth",
    "Death",
    "Nuke",
    "Camouflage",
    "Low Gravity",
    "Fire",
    "Slap",
    "Random",
    "Honey",
    "CT Barrier",
    "T Barrier",
    "Boots Of Speed",
    "Glass",
    "Bunnyhop (No slow down)",
    "Auto Bunnyhop"
};
If i try "new const gszBlockNames[gBlockMax][32] =" i get "error 052: multi-dimensional arrays must be fully initialized"

& if i try "new const gszBlockNames[gBlockMax][31 or 23] =" then i get "error 018 initialization data exceeds declared size"

Whats wrong?
I have no idea more.
Plz Help

Sry, for the bad english.
Attached Files
File Type: sma Get Plugin or Get Source (blockmaker_v4.01.sma - 104 views - 162.9 KB)
File Type: sma Get Plugin or Get Source (blockmaker_v4.01 without Invi.sma - 86 views - 159.8 KB)

Last edited by Aluta; 07-28-2010 at 10:21.
Aluta 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 00:09.


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