28.10.2009, 17:19
How can I know the length of an int variable?
Ex.: PlayerInfo[playerid][pLevel]
I've tried with: new levelength = strlen(PlayerInfo[playerid][pLevel]);
Also: new levelength = sizeof(PlayerInfo[playerid][pLevel]);
But it doesn't work.
Thanks
Ex.: PlayerInfo[playerid][pLevel]
I've tried with: new levelength = strlen(PlayerInfo[playerid][pLevel]);
Also: new levelength = sizeof(PlayerInfo[playerid][pLevel]);
But it doesn't work.
Thanks