View Single Post
  #4  
Old 01-31-2008, 08:02 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You should be using onPlayerEnters, not onCreated. Gani scripts don't function very well with onCreated and onPlayerEnters is only called when the player seeing the gani first sees it for that instance, not when you actually enter a level.

Also, you should check for every player what their attrs are.

Like if I was doing it and was using you as a test subject, in a clientside test npc I would put:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
player.chat findplayer("zokemon").attr[2]; // (2 as an example)

I would see if both me and you had the same result in our chats. Then I would just replace zokemon with coreys and again check both of our chat's. Kinda hard to do that when you have chat disabled though so maybe a trigger serverside and an echo(account @ ": " @ result);
__________________
Do it with a DON!
Reply With Quote