Jump to content
  • 0

Problema Dini


HORVENN

Question

Salutare, intampin niste probleme la compilare cand am adaugat niste functii in gamemode (dini_Get)

ERORILE:

C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4119) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4120) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4121) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4122) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4123) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4124) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4125) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4126) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4127) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4128) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4129) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4130) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4131) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4132) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4133) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4135) : error 033: array must be indexed (variable "Captured1")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4139) : error 033: array must be indexed (variable "Captured2")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4143) : error 033: array must be indexed (variable "Captured15")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4147) : error 033: array must be indexed (variable "Captured3")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4151) : error 033: array must be indexed (variable "Captured4")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4155) : error 033: array must be indexed (variable "Captured5")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4159) : error 033: array must be indexed (variable "Captured6")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4163) : error 033: array must be indexed (variable "Captured7")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4167) : error 033: array must be indexed (variable "Captured8")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4171) : error 033: array must be indexed (variable "Captured9")
C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4175) : error 033: array must be indexed (variable "Captured10")
Uitati si liniile respective:
Captured1 = dini_Get("/Variables/Gang.ini", "CapturedBy1");
Captured2 = dini_Get("/Variables/Gang.ini", "CapturedBy2");
Captured3 = dini_Get("/Variables/Gang.ini", "CapturedBy3");
Captured4 = dini_Get("/Variables/Gang.ini", "CapturedBy4");
Captured5 = dini_Get("/Variables/Gang.ini", "CapturedBy5");
Captured6 = dini_Get("/Variables/Gang.ini", "CapturedBy6");
Captured7 = dini_Get("/Variables/Gang.ini", "CapturedBy7");
Captured8 = dini_Get("/Variables/Gang.ini", "CapturedBy8");
Captured9 = dini_Get("/Variables/Gang.ini", "CapturedBy9");
Captured10 = dini_Get("/Variables/Gang.ini", "CapturedBy10");
Captured11 = dini_Get("/Variables/Gang.ini", "CapturedBy11");
Captured12 = dini_Get("/Variables/Gang.ini", "CapturedBy12");
Captured13 = dini_Get("/Variables/Gang.ini", "CapturedBy13");
Captured14 = dini_Get("/Variables/Gang.ini", "CapturedBy14");
Captured15 = dini_Get("/Variables/Gang.ini", "CapturedBy15");
si declaratiile "Captured":
#define MAX_GANGS 15

new Captured1[MAX_GANGS];
new Captured2[MAX_GANGS];
new Captured3[MAX_GANGS];
new Captured4[MAX_GANGS];
new Captured5[MAX_GANGS];
new Captured6[MAX_GANGS];
new Captured7[MAX_GANGS];
new Captured8[MAX_GANGS];
new Captured9[MAX_GANGS];
new Captured10[MAX_GANGS];
new Captured11[MAX_GANGS];
new Captured12[MAX_GANGS];
new Captured13[MAX_GANGS];
new Captured14[MAX_GANGS];
new Captured15[MAX_GANGS];

Ce sa fac sa scap de erori? Va rog sa ma ajute cineva, multumesc.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Acele erori  apar ca ai definit prost , tu ai definit new Captured1[MAX_GANGS]; si tu folosesti Captured1 = dini_Get("/Variables/Gang.ini", "CapturedBy1");.

Dc ai bagat acel [MAX_GANGS] ? (Scoatel)

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.