array sizes do -match, OR destination array is too small
#1

Error is array sizes do -match, OR destination array is too small.

(Sloution at !Easy! post)
Reply
#2

Is cLicense defined as a string with 32 or more cells in your CData enum?
Reply
#3

pawn Код:
new ARKLicense[][4] = { // [] = number of items, [4] = size of the each item (3 characters + NULL character).
"ADC",// 1
"ODL",// 2
"YFK",// 3
"LEE", // 4
"UDK", // 5
"OLA", // 6
"POR", // 7
"HER", // 8
"IKS", // 9
"EHA", // 10
"OLG", // 11
"ORK", // 12
"TRA", // 13
"TYA", // 14
"OFA"  // 15
};
Reply
#4

Miguel, still error. :/
Reply
#5

strmid(CData[autobahnist][cLicense], litsents, 0, strlen(litsents), 255);

Should work.
Reply
#6

!Easy!, very thanks, man.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)