Code: Select all
class Test
{
void TestFunc()
{
let p = players[consoleplayer];
}
}
Code: Select all
Script error, "zscript.txt:ZSCRIPT" line 5:
Cannot initialize non-scalar variable p here
Code: Select all
class Test
{
void TestFunc()
{
PlayerInfo p = players[consoleplayer];
}
}