![]() |
Bars and Beer
I am a Super stupid Scripting Noob.. Not really but i cant figure out to make it so you say "Buy Drink" and it takes a graley off yer account and gives you a drink....And then the drink fills up health.. I R DUMB :grrr:
|
Re: Bars and Beer
Quote:
here it is anyway put this in the beer gfx if (playerenters) {hide} if (playersays(buy beer)&&playerrupees>0) { playerrupees-=1; show; } if (playertouchsme) { playerhearts+=1} |
Thanks for trying.. but when i say buy beer.. he doesn't lay a beer.. he only apears.. before you say buy beer.. he is inviz
|
put the script in the beer gfx
it does work |
Ok.. but now when i touch the beer it wont heal.. it just drains money.. and never disaperared
|
It heals.. but just stays there and everytime you touch it it takes 1 gralet
|
arh hold on ill fix it
|
if (playerenters) {hide}
if (playersays(buy beer)&&playerrupees>0) { playerrupees-=1; show; } if (playertouchsme) { playerhearts+=1; hide;} there that'll hide it and i have no idea why it keeps draining money who hoo that was post 500 |
OK
|
don't use playersays
PHP Code:
|
Hmmm... I once made a script where the bartender actually got up, and tossed the beer to you... But that's when I was a newbie scripter and didn't even know arrays...
|
Even though i doubt you can help.. Merlins scrpt was OK.. but it didn't take a gralet.. another thing is I would like the beer to be warped to right to the Right of where the player is
|
Quote:
PHP Code:
|
NPC Code: |
Bars and Beer
NOOOO!!!!!! Rebel95[list=1][*]I wish I could help[*]I can't, my brain is dead, it has been for a while[/list=1]
I know some people who would ask this question. Why do people mock me? I am the great: http://graalianrebels.homestead.com/...tml/reblgo.jpg get the picture? I would like to put some thing up on the thread, but I see that someone else has answered the question WAAAYYYYYYYYYYY be fore me. any more questions? Quote:
Quote:
Quote:
|
| All times are GMT +2. The time now is 12:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.