can i use new variable[MAX_PLAYERS char];
#5

I had tried in the past as I was curious myself and it did not work using {} on the playerid index. I did a test just a minute ago and it seems to be working good with [].

But.. change:
pawn Код:
g_lib_function_FPN_[playerid] = !'\0';
to:
pawn Код:
g_lib_function_FPN_[playerid]{0} = '\0';
Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
afaik it only work with 1D array.
No, it does work with 2D and 3D arrays.
Reply


Messages In This Thread
can i use new variable[MAX_PLAYERS char]; - by RaeF - 29.04.2015, 10:31
Re: can i use new variable[MAX_PLAYERS char]; - by LegendOfScripts - 29.04.2015, 11:26
Re: can i use new variable[MAX_PLAYERS char]; - by Niko_boy - 29.04.2015, 11:30
Re: can i use new variable[MAX_PLAYERS char]; - by Evocator - 29.04.2015, 13:20
Re: can i use new variable[MAX_PLAYERS char]; - by Konstantinos - 29.04.2015, 18:55
Re: can i use new variable[MAX_PLAYERS char]; - by Jefff - 29.04.2015, 21:50
Re: can i use new variable[MAX_PLAYERS char]; - by RaeF - 29.04.2015, 23:01

Forum Jump:


Users browsing this thread: 2 Guest(s)