new charname[128]; format(charname,sizeof(charname),"%s",strval(inputtext)); SetPVarString(playerid,"CharName",charname);