View Single Post
  #15  
Old 04-26-2007, 04:51 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by cbkbud View Post
lol ... just lol

You'll want to make a gani script, and use params or attrs so it shows the zoom for everybody. To make a gani script, edit the gani file in a text editor, and at the bottom (or so) add

PHP Code:
SCRIPT
  
// Code goes here
SCRIPTEND 
and if you want to use params, you need to use that in an if (created) and then call something. Otherwise, it will reset the params. For example,

PHP Code:
SCRIPT
  
if ( created )
  {
    
doStartparams );
  }
  function 
doStartNULL )
  {
    echo( 
params );
  }
SCRIPTEND 
oh my god use function onCreated(), not if created.

and thats not true. params are passed to the onPlayerEnters function
so if you do like setani("whatever",param,param,param);
the function onPlayerEnters(somename,somename2,etc) in the gani will recieve those parameters.
__________________
Reply With Quote