Banned
|
 |
Join Date: Jun 2001
Posts: 3,993
|
|
Re: Drowning script (i need help)
Quote:
Originally posted by Andor_RC14
were it says onwater is wrong what do i put thier to work it i tried
if (playerswimming) --nothing seems to work
// Made by Mystical Dragon
//#CLIENTSIDE
if (onwater( x, y )){
showimg 1000,@@c@Water Count 0/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,0,0,3,0;}
if (onwater( x, y )){
showimg 1000,@@c@Water Count 1.5/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 2/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 4/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 6/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 8/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 10/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 12/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 13/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 13.5/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 14/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,1,1,0,1;
sleep 1.5;
showimg 1000,@@c@Water Count 15/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
changeimgcolors 1000,2,0,0,0;
sleep 2;
playerhearts=>0}
P.S
Script thiefs are lame
|
i dont know who would want to steal that script, lol ....
try this:
NPC Code:
NPC Code:
if (onwater(vecx,vecy)) {
for (i=15;i>0;i--) {
sleep 2;
showimg 1000,@@c@Water Count i/15,screenwidth-75,screenheight-25;
changeimgvis 1000,5;
if (i=15) {
changeimgcolors 1000,2,0,0,0;
}
if (i<=14&&i>=1) {
changeimgcolors 1000,1,1,0,1;
}
if (i=0) {
changeimgcolors 1000,0,0,3,0;
}
}
}
edit:
I added 'vecx,vecy' I am totally unsure about using that ... |
|