27.04.2012, 14:31
Hello,
I have problem with strmid function.
Like having that enum: LicenseIssuer[MAX_PLAYER_NAME]
And.. after using strmid then it show: Martin_Sulov.
After relogging, system will load user data using that:
mysql_fetch_field_row(Field,"LicenseIssuer"); PlayerInfo[playerid][LicenseIssuer] = strmid(PlayerInfo[playerid][LicenseIssuer], Field, 0, strlen(Field), 255);
Then first character will deleted (by strmid) and show: *wierd character*artin_Sulov or just: artin_Sulov.
How fix that annoying problem?
I have problem with strmid function.
Like having that enum: LicenseIssuer[MAX_PLAYER_NAME]
And.. after using strmid then it show: Martin_Sulov.
After relogging, system will load user data using that:
mysql_fetch_field_row(Field,"LicenseIssuer"); PlayerInfo[playerid][LicenseIssuer] = strmid(PlayerInfo[playerid][LicenseIssuer], Field, 0, strlen(Field), 255);
Then first character will deleted (by strmid) and show: *wierd character*artin_Sulov or just: artin_Sulov.
How fix that annoying problem?