30.10.2011, 10:39
Hello everyone, continuing to my system, I'm trying to fix a weird glitch that appeared however, I'm clueless to how this occurs.
Now unformat (from sscanf2) will unformat a string inside a file and read the values. It'll then set the value of "E_POSX" to it. This works <<<<<
Will print out:
After I go to OnPlayerSpawn and type
and
it will take me to 0.0, 0.0, 0.0 and also! prints "0.0" or would say, Stay within the boundaries! and freeze my screen / overlay crap.
Something in my script is doing it wrongly, i'm not sure.
Does anyone have a clue to what this can be caused from? Thanks!
pawn Код:
gSomeEnum[ID][E_POSX] // FLOAT OF COURSE.
Will print out:
pawn Код:
1573.3762
pawn Код:
SetPlayerPos(playerid, gSomeEnum[ID][E_POSX], ..., ...);
pawn Код:
printf("%f", gSomeEnum[ID][E_POSX]):
Something in my script is doing it wrongly, i'm not sure.
Does anyone have a clue to what this can be caused from? Thanks!