Thread: Scrolling?
View Single Post
  #2  
Old 02-26-2002, 03:52 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
// NPC made by Stalin
if (playerenters) {
message Deposit;
setstring playerdeposit,0;
}
if (playertouchsme) {
disabledefmovement;
setani idle,;
showimg 510,@Arial@b@ENTER THE AMOUNT TO DEPOSIT,(screenwidth/2)-80,(screenheight/2-120);
showimg 511,@Arial@>#v(#s(playerdeposit)),(screenwidth/2)-80,(screenheight/2-100);
showimg 512,@Arial@Done,(screenwidth/2)-80,(screenheight/2-80);
changeimgvis 510,4;
changeimgvis 511,4;
changeimgvis 512,4;
timeout=.05;
}
if(timeout){
if(keydown(3)&&strtofloat(#s(playerdeposit))<playe rrupees){
setstring playerdeposit,#v(strtofloat(#s(playerdeposit))+1);
showimg 511,@Arial@b@>#v(#s(playerdeposit)),(screenwidth/2)-80,(screenheight/2-100);
timeout=.05;
}
if(keydown(2)){
showimg 511,@Arial@b@#v(#s(playerdeposit)),(screenwidth/2)-80,(screenheight/2-100);
showimg 512,@Arial@b@>Done,(screenwidth/2)-80,(screenheight/2-80);
timeout=.05;
}
timeout=.05;
}

I tried but it no worked =(
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote