Quote:
Originally Posted by zokemon
players will not work in all cases serverside in a WNPC because it does not always have the scope of a player which is required to have the level variable not be NULL. If the level variable is NULL, logically the players variable would be empty.
|
Yeah, I was sending player.level, which is an object and cannot be passed serverside, instead of player.level.name.
Edit:
I just tested, and when doing:
PHP Code:
if (players != NULL)
echo("test");
in the triggeraction I've been trying to use this in, it echoes "test." Meaning players is not null. However, I still can't use it. o.O