C:\Users\Jimmi\Desktop\Server\93.119.25.182-7777\gamemodes\RunStrike.pwn(280) : error 018: initialization data exceeds d
#1

C:\Users\Jimmi\Desktop\Server\93.119.25.182-7777\gamemodes\RunStrike.pwn(280) : error 018: initialization data exceeds declared size

280
Код:
    {"1410.1044",  "-1305.7026", "9.3780", "Downtown Los Santos"},
All code
Код:
new pumpkins[][4] = {
    {"1410.1044",  "-1305.7026", "9.3780", "Downtown Los Santos"},
    {"811.0631",   "-1098.3042", "25.9063", "CNN Los Santos"},
    {"395.0076",   "-1892.1541", "7.8301",  "Santa Maria Beach"},
    {"1208.2128",  "-1997.4165", "69.0078", "Verdant Bluffs"},
    {"1291.9706",  "-788.6403",  "96.4609", "Mulholland"},
    {"1319.6095",  "1254.3007",  "14.2731", "Las Venturas Airport"},
    {"2000.8856",  "1565.8356",  "15.3672", "The Strip"},
    {"2592.7739",  "2790.8081",  "10.8203", "KACC Military Fuels"},
    {"1058.6401",  "1260.5609",  "10.8203", "Blackfield"},
    {"1697.7155",  "679.0499",   "14.8222", "Randolph Ind. Estate"},
    {"2206.8350",  "1286.4581",  "10.8203", "The Camel's Toe"},
    {"2060.2539",  "-2376.2620", "16.1250", "LS International"},
    {"2505.8127",  "-1693.7687", "13.5579", "Ganton"},
    {"1883.6287",  "1990.4550",  "7.5946",  "Redsands East | The Visage"}
};
Reply
#2

enum e_pumpkins {
Float:X,
Float:Y,
Float:Z,
description[100]
}

new pumpkins[][e_pumpkins] = {
//...
};

use
pumpkins[id][X]
pumpkins[id][Y]
pumpkins[id][Z]
pumpkins[id][description]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)