This code with strmid correct?
#1

Hello,,

In my orgs enum i have got fColor which is a string, the string is only 10 characters long... And i have got a command in which i use sscanf which i use the change the value of fColor...but the variable i save my new Color with in the command is larger than 10 Characters, so it wont let me use
pawn Код:
orgsStats[orgID][fColor] = Value;
because Value is a larger string than fColor...

so i have tried this:
pawn Код:
strmid(orgStats[user][fColor], value, 0, 9);
it seems to of compiled, will it work okay?
Reply


Messages In This Thread
This code with strmid correct? - by DarrenReeder - 04.10.2010, 21:33
Re: This code with strmid correct? - by Jefff - 04.10.2010, 21:48
Re: This code with strmid correct? - by DarrenReeder - 04.10.2010, 21:55
Re: This code with strmid correct? - by bigcomfycouch - 04.10.2010, 21:58
Re: This code with strmid correct? - by DarrenReeder - 04.10.2010, 22:18
Re: This code with strmid correct? - by Jefff - 04.10.2010, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)