View Single Post
  #1  
Old 06-12-2007, 01:40 AM
Cherrykao Cherrykao is offline
Banned
Join Date: Apr 2007
Posts: 37
Cherrykao is on a distinguished road
setting gani on a player

i created a gani that shows a Blue Flag over a character when they enter a level. when i move around, the gani of the Blue Flag hovering over a character disappears. How do i keep the gani on the players inside a level?


function onCreated() {
}

function onPlayerEnters() {
timeout=0.05;
timereverywhere;
setani blueFlag_idle,;
}

function onTimeout() {
if (player.guild == "Blue Team") {
setani blueFlag_idle,;
}
if (player.guild == "Red Team") {
setani redFlag_idle,;
}
}
timeout=0.05;

Or maybe just attach a PNG image of the flag over a character. I'm not sure how to either keep the gani on the players or attach a PNG image of the flag over a character?
Reply With Quote