SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 16/07/2019, 07:33 PM   #1
playstores
Big Clucker
 
Join Date: Feb 2018
Posts: 148
Reputation: 3
Default Array Error

(1294) : error 008: must be a constant expression; assumed zero

https://pastebin.com/PnBc3dT6

At "1-24 LSPD"
playstores is offline   Reply With Quote
Old 16/07/2019, 07:50 PM   #2
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 674
Reputation: 110
Default Re: Array Error

It is 1D array, treat it that way.
pawn Code:
new FrakPoints[] =
{
    1000, // 1 - 24 LSPD
    17000, // FBI
    5000, // ARMY
    500, // Sanitöter lol
    750, // LCN
    750, // Yakuza
    1500, // Regierung /Präsi
    6500, // Hitmen
    500, // San News
    500, // Transport GMBH
    500,  // Fahrlehrer
    750, // Triaden
    750,  // Grove Street
    750, // Ballas
    750, // Feuerwehr
    750, // Vagos
    750, // Atzecas
    750, // SF Rifa
    500, // Red Soldiers
    4000, // Terroristen
    4000, // Wheelmen
    3000, //SWAT
    750, // Russen Mafia
    1000 // Ordnungsamt
};
Calisthenics is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 021: symbol already defined: "strtok" & error 047: array sizes do not match, or destination array is too small Gorgeousmaniac Scripting Help 5 08/09/2016 01:37 PM
(dFile) error 047: array sizes do not match, or destination array is too small Jack_Leslie Scripting Help 0 06/09/2011 01:20 AM
(dFile) error 047: array sizes do not match, or destination array is too small Jack_Leslie Scripting Help 8 01/09/2011 05:32 AM
[SOLVED]error 047: array sizes do not match, or destination array is too small help! Help Archive 7 18/06/2011 08:09 PM
[Sloved]error 047: array sizes do not match, or destination array is too small CoaPsyFactor Help Archive 1 09/06/2011 08:27 PM


All times are GMT. The time now is 08:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.