Weird character using strlen(inputtext)?
#1

I have this under a dialog response;
pawn Код:
if(strlen(inputtext) < 64 || strlen(inputtext) > 0)
            {
                new iFac;
                iFac = 0;
                FactionData[iFac][pFacName] = strlen(inputtext);
                format(string, sizeof(string), "You have just re-named faction ID 0 to %s.", inputtext);
                SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
            }
It will say in the client message correctly what I entered but when I look at it after its a weird character like a |_ kinda shape? Idk why, also putting just 'FactionData[iFac][pFacName] = inputtext;' doesn't work so, any other ideas?
Reply


Messages In This Thread
Weird character using strlen(inputtext)? - by mSlat3r - 09.11.2012, 00:32
Re: Weird character using strlen(inputtext)? - by [KHK]Khalid - 09.11.2012, 00:59
Re: Weird character using strlen(inputtext)? - by Vince - 09.11.2012, 05:10

Forum Jump:


Users browsing this thread: 1 Guest(s)