
06-23-2002, 04:29 AM
|
|
Registered User
|
Join Date: May 2002
Location: Levelville
Posts: 420
|
|
A little help plz
|
I have a bar script so when you buy the beer it takes 5 rupees and puts it in a NPC so the owner of the bar can get it when he/she touches it. the problem is when you press enter it drops money everytime .the script works its just the money that keeps coming out. here is the sript plz help.
// NPC made by MyTH
if (playerenters){hidelocal; dontblock;}
if (playerchats&&strequals(#c,beer 1)&& playerrupees>=5) {playerrupees = playerrupees-5;
move -2,0,2,0;show;blockagain;}
if (playertouchsme) putleaps 5,playerx,playery;playerhearts +=2;
if (playertouchsme) hide;lay2 bluerupee,32,25; |
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
|
|
|
|