17.01.2010, 17:31
Hey,
I got this code:
SetPlayerColor(PlayerID,strval(dini_Get(gangfile," Color")));
But it always sets color to black.. I think strval isn't good here, but what should I use instead?
If I use it like this:
SetPlayerColor(PlayerID,dini_Get(gangfile,"Color") );
I get
error 035: argument type mismatch (argument 2)
"Color" in file is defined as 0xB7B86EAA
I got this code:
SetPlayerColor(PlayerID,strval(dini_Get(gangfile," Color")));
But it always sets color to black.. I think strval isn't good here, but what should I use instead?
If I use it like this:
SetPlayerColor(PlayerID,dini_Get(gangfile,"Color") );
I get
error 035: argument type mismatch (argument 2)
"Color" in file is defined as 0xB7B86EAA