Quote:
Originally Posted by killerogue
A gani script? Where does it go? What does it do? Does it have any special things I should know about?
|
It obiviously goes inside a gani <_<.
Example
PHP Code:
player.attr[10] = "hp.gani";
player.attr[11] = {hpflag, maxhpflag};
PHP Code:
SCRIPT
function onCreated() onTimeout();
function onPlayerEnters() onTimeout();
function onTimeout()
{
showtext( 10, (player.x - 6), (player.y - 3), "Arial", "b", format("HP:%f/%i", player.attr[11][0], player.attr[11][1]);
changeimgvis(10, 2);
changeimgzoom(10, 0.50);
setTimer(.05);
}
SCRIPTEND
From what I hear its much better to use GANI scripting gives off less lag then other types of scripting