I am trying to write a simple code that is placed in global script and returns a random string.
My first step was to write the following code.
- Code: Select all
char RandomStringTest()
{
char random="test";
return random;
}
However, this gives me the following error "Incompatible types: cannot convert from 'const * char' to 'char'"
What do I need to do that the code returns "test"?