[HELP] for string in array
#1

Hello , i've a problem about string in array, how to put text or message in array and how to use it.

this is my array , i try to do it long time but it is error.

new animlist[5] =
{"thrw_barl_thrw","Stepsit_in","Stepsit_loop","Ste psit_out"};

(this is animlist)

sorry for my bad english
Reply
#2

Код:
new animlist[][] =
{"thrw_barl_thrw","Stepsit_in","Stepsit_loop","Ste psit_out"};
Reply
#3

thx but how to use it ?
exam SendClientMessage(playerid,COLOR_WHITE,"%s",animli st[][]):

please explantion this for me
Reply
#4

pawn Код:
new str[32];
format(str,sizeof(str),"%s",animlist[0]);
SendClientMessage(playerid, COLOR_WHITE, str);
This would produce "thrw_barl_thrw".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)