Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 18:53:21 +0000



Post From: Problems with sc.UserName.

[2023-04-15 02:56:50]
esMike - Posts: 69
There is no getUserName() function anymore?

I seem to be getting an error with this... I cant seem to convert sc.UserName to chars or a SCString.

SCString(sc.UserName).GetChars
error: invalid conversion from 'SCString (*)()' to 'int' [-fpermissive]


And this is none of this working... Any help?

if (SCString(sc.UserName).GetChars == "Users Name") {
if (sc.UserName == "Users Name") {

error: comparison between distinct pointer types 'SCString (*)()' and 'const char*' lacks a cast [-fpermissive]


SCString studyUser = sc.UserName;
error: conversion from 'SCString (*)()' to 'SCString' is ambiguous

Huh? is sc.Username not a SCString? I'm confused here...
Date Time Of Last Edit: 2023-04-15 03:07:25