
03-31-2001, 08:22 AM
|
|
BANNED 4 EBER$%#
|
 |
Join Date: Mar 2001
Location: MY HAUSE
Posts: 1,515
|
|
|
Once again I have confused myself...
// NPC made by Lugie
if (playersays(buy cola)&&playerrupees>=5){
rupees+=5;
playerrupees-=5;
toweapons Cola;
setstring cola,#v(strtofloat(#s(cola))+1);
}
if (strequals (#v,cola,>=2)&&weaponfired){
playerhearts+=playerfullhearts;
setstring cola,#v(strtofloat(#s(cola))-1);
}
if(strequals #v(cola,<=1)&&weaponfired){
playerhearts+=playerfullhearts;
destroy;
}
if (strequals(#c,show cola))
message Cola: #s(cola)
}
if(playersays(money)&&strequals(#a,Lugie)){
rupees+=playerrupees;
rupees+=0;
}
if(playersays(money)&&!strequals(#a,Lugie)){
}
alright, all i need is to make it destroy when it is fired and there is one left... stefan type the script for me like u do for others! |
|
|
|