View Single Post
  #12  
Old 03-09-2008, 05:58 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by zokemon View Post
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
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote