dini get - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dini get (
/showthread.php?tid=179044)
dini get -
Seven. - 25.09.2010
pawn Код:
gPlayer[playerid][wmsg] = dini_Get(udb_encode(gPlayer[playerid][gName]), "wmsg");
Код:
(1400) : error 006: must be assigned to an array
Hope anybody will be able to help me.
Re: dini get -
Conroy - 25.09.2010
Make sure wmsg in your enum is an array.
wmsg[128]
Re: dini get -
Seven. - 25.09.2010
error 047: array sizes do not match, or destination array is too small
Re: dini get -
lightningcrow - 25.09.2010
i have same problem too!!
if you can fix this problem.. post in here oke..
haha..
Re: dini get -
legodude - 25.09.2010
wmsg[256]
or try
#undef MAX_STRING
#define MAX_STRING 128
Re: dini get -
Conroy - 25.09.2010
Quote:
Originally Posted by Seven.
error 047: array sizes do not match, or destination array is too small
|
Simply increase the array size. Try 256.
Re: dini get -
Jefff - 25.09.2010
pawn Код:
strcat(gPlayer[playerid][wmsg],dini_Get(udb_encode(gPlayer[playerid][gName]), "wmsg"));
Re: dini get -
Seven. - 25.09.2010
No errors with the code from Jefff, But it's not showing the message. :S
Re: dini get -
Seven. - 27.09.2010
Nvm fixed.