04.10.2010, 21:33
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
because Value is a larger string than fColor...
so i have tried this:
it seems to of compiled, will it work okay?
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;
so i have tried this:
pawn Код:
strmid(orgStats[user][fColor], value, 0, 9);