Thread: My first gif!
View Single Post
  #13  
Old 12-01-2002, 09:47 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by billybob53
if you wanna make an image that flash then just use:

code:
-----------------------------------------
if (created){
showimg 0,@@Mafia Bar,x,y;
}
while (visible){
changeimgcolors 0,1,0,0,0.99;
sleep 0.1;
changeimgcolors 0,0,1,0,0.99;
}
-----------------------------------------

Ok?

(if your making images with text its best not to bother...)

Besides, You can just make a regular image and save up file space.
>.< DO NOT USE SHOWIMG <index>,@@@<MESSAGE>,x,y; ANYMORE!
use showtext >.<
NPC Code:

if (playerenters || timeout){
showtext 0,x,y,Arial,b,Mafia Bar;
colors();
timeout=0.05;}
function colors(){
changeimgcolors 0,1,0,0,0.99;
sleep 0.05;
changeimgcolors 0,0,1,0,0.99;}


that should work
__________________
Reply With Quote