03.08.2018, 19:44
Hi guys,
I wan to store color in variable(like 0x80FF80FF etc)
I'm try thisit don't work)
1)
2)
I get error(in line ClanInfo...)
3)
My server crash with this.
4)
I don't have idea what to try...
I wan to store color in variable(like 0x80FF80FF etc)
I'm try thisit don't work)
1)
Код:
new color; if(sscanf(inputtext, "d", color)) return SCM... ClanInfo[CLAN_COLOR] = color;
Код:
new color[25]; if(sscanf(inputtext, "s", color)) return SCM... ClanInfo[CLAN_COLOR] = color;
Quote:
must be assigned to an array |
Код:
new color; if(sscanf(inputtext, "s", color)) return SCM... ClanInfo[CLAN_COLOR] = color;
4)
Код:
new color[20]; if(sscanf(inputtext, "s[20]", color)) return SCM... ClanInfo[CLAN_COLOR] = strval(color);