![]() |
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; |
This might help.
NPC Code://Get the bar money, etc. And... I'd do this with the beer... NPC Code: I suggest you put the bar collect stuff in a separate NPC. |
Thanks!
Yea thanks alot it works fine!
|
learn off of it. Those commands can come in handy.
Oh yeah. (#e(8,-1,#c) --- In that, -1 means go all the way to the end of the player's chat text. |
Crap
I didnt check the top 1 i just added the beer the top one doesnt work for me i ut my account and changed the guild to Police cause that was my nick and i am to lazy for setplayerprop #n,Name;}
????????????????????!!!!!!!!!!!!!!! |
Re: Crap
Quote:
The top one works. |
Quote:
|
Quote:
|
hrm
Doesnt work for me i put it in the man behind the bar you have to have the Bar tender tag to get to him and i said collect #
|
Contact me over AIM or post the level.
shady visions That's weird. |
*dies*
AHHHHHHHH ok now the beer when you say beer 1 it slides to you right? well i touch it it goes away like supposed to.I say beer 1 again and it slides from where it ended the last time and it keeps going father everytime you say beer 1!!!!*pulls hair out*
|
| All times are GMT +2. The time now is 08:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.