|
The Cat
|
 |
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
|
|
PHP Code:
// NPC made by Rave Platinum function onCreated() { setshape(1, 32, 32); } function onActionwarp() { setlevel2("bionic_start.nw",31.5,32); } //#CLIENTSIDE function onCreated() { showtext(900,screenwidth/2,screenheight/2,"","cb","Welcome To Scarlet Sky"); changeimgvis(900, 8); showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome To Scarlet Sky"); hideplayer(23.2); disabledefmovement(); changeimgcolors(900,1,1,1,0.99); sleep(3); for(temp.i = 1; temp.i >= 0; temp.i -= 0.1) { changeimgcolors(900,temp.i,temp.i,temp.i,temp.i); sleep(0.2); } sleep(3); showtext(900,screenwidth/2,screenheight/2,"","cb","Coming soon To Hosted Tab"); changeimgvis(900, 8); showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome"); for(temp.i = 0; temp.i <= 1; temp.i += 0.1) { changeimgcolors(900,temp.i,temp.i,temp.i,temp.i); sleep(0.2); } sleep(3); for(temp.i = 1; temp.i >= 0; temp.i -= 0.1) { changeimgcolors(900,temp.i,temp.i,temp.i,temp.i); sleep(0.2); } changeimgcolors(900,0,0,0,0); sleep(2); showtext(900,screenwidth/2,screenheight/2,"","cb","Hiring Best Developers on Graal"); changeimgvis(900,8); showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Hiring Best Developers on Graal"); for(temp.i = 0; temp.i <= 1; temp.i += 0.1) { changeimgcolors(900,temp.i,temp.i,temp.i,temp.i); sleep(0.2); } sleep(3); for(temp.i = 1; temp.i >= 0; temp.i -= 0.1) { changeimgcolors(900,temp.i,temp.i,temp.i,temp.i); sleep(0.2); } changeimgcolors(900,0,0,0,0); triggeraction(x+1, y+1, "warp", null); }
setlevel2 is serverside only. I also took the liberty of converting it to Gscript2 format. Now, this script will only work online. |
__________________
“Shoot for the moon. Even if you miss, you'll land among the stars.”
|
|