String array
#4

Never use dimensions in the sizeof operator. Also array indices start at 0.
pawn Код:
format(string[0], sizeof(string[]), "penis");
format(string[1], sizeof(string[]), "llol");
Reply


Messages In This Thread
String array - by thefatshizms - 01.10.2012, 18:48
Re: String array - by Red_Dragon. - 01.10.2012, 18:53
Re: String array - by thefatshizms - 01.10.2012, 19:06
Re: String array - by Vince - 01.10.2012, 19:10
Re: String array - by Red_Dragon. - 01.10.2012, 19:15
Re: String array - by thefatshizms - 01.10.2012, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)