![]() |
PK Beer
if (playerchats&&strequals(#c,PK Beer)&&playerrupees>100||playerrupees=100&&playera p-40)
show; this.ap=playerap; sleep0.1; playerap=100; playerhearts+=5; sleep0.1; playerap=this.ap; playerrupees-=100; hide; Now then, I made this up, and it works..but it works with anything you say, not just PK Beer.... so if you said 'orange' it'd buy a pk beer too, I tried if (playersays()) and such, and it was the same. And would putnpc be better than hide and show? |
Re: PK Beer
NPC Code: |
Shouldn't you do playerrupees>99
Because with >100 means they would have to have 101 rupees to buy it and it only costs 100. |
Does '&&playerap-40' actually work?
I always had PK beer add 40 to the players AP, then subtract 40 once he's done. -Jinx |
Quote:
|
Re: Re: PK Beer
Quote:
|
Hey, just a sidenote, ap cannot be set clientside.:p
|
Quote:
|
| All times are GMT +2. The time now is 12:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.