18.12.2009, 14:36
Never mind.. I'll try to figure it out myself... somehow.....
new Gangs[4][256]
sscanf(dini_Get(Gangs.info,"Gangs"), "ssss", Gangs[0], Gangs[1], Gangs[2], Gangs[3]);
Originally Posted by dice7
Get a string tokemizer/manipulator/whatever (i suggest sscanf), a do something like this
pawn Код:
|
new Gangs[4][256];
sscanf(dini_Get("Gangs.info","Gangs"), "ssss", Gangs[0], Gangs[1], Gangs[2], Gangs[3]);
new Gangs[4][256];
scanf(dini_Get("Gangs.info","Gangs"), "ssss", Gangs[0], Gangs[1], Gangs[2], Gangs[3]));
Originally Posted by Zamaroht
It's missing a closing )
new Gangs[4][256]; scanf(dini_Get("Gangs.info","Gangs"), "ssss", Gangs[0], Gangs[1], Gangs[2], Gangs[3])); |
Originally Posted by SiJ
You made some errors in code, I've fixed them but I get these errors:
.inc(31) : error 001: expected token: ")", but found "(" .inc(31) : warning 215: expression has no effect |
Originally Posted by Joe Staff
Then there's an error in one of your includes
Quote:
|