Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-23-2002, 04:29 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
Talking 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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.