The simplest GANI script would be something like
PHP Code:
SCRIPT
function onPlayerEnters() {
onCreated();
}
function onCreated() {
player.zoom = 2;
}
SCRIPTEND
You'd then do something like
PHP Code:
player.attr[8] = "mygani.gani";
GANI paramaters are passed through attributes using commas, like this:
PHP Code:
player.attr[8] = "mygani.gani,2";