05.05.2016, 09:53
Hi,
i have little problem with array inicialization
C:\Users\A\Desktop\samp037\filterscripts\test.pwn(
: error 029: invalid expression, assumed zero
C:\Users\A\Desktop\samp037\filterscripts\test.pwn(
: error 047: array sizes do not match, or destination array is too small
I don't want to use for, while, do or anything like this.
Thanks for any help.
i have little problem with array inicialization
Код:
#include <a_samp> new Neco[10] = {0,...};//work fine public OnFilterScriptInit() { Neco = {0,0,0,0,0,0,0,0,0,0};//work fine too, but its hard way Neco = {0,...};//error, how to write this ? return 1; }

C:\Users\A\Desktop\samp037\filterscripts\test.pwn(

I don't want to use for, while, do or anything like this.
Thanks for any help.