Quote:
Originally Posted by xXziroXx
Empty Bottle:
PHP Code:
if (playerenters) { show; setimg eman_water_potion.png; timeout = 0.05; }
if (playertouchsme) { toweapons Empty Bottle; hide; }
if (timeout) { if (hasweapon(Red Potion) && timeout) destroy; timeout = 0.05; }
As I said, you need to do the hasweapon check in a timeout. And I know it's just GS1, but you need to work on styling your code.
|
I'm no expert in old GScript, but isn't this line redundant?
PHP Code:
if (hasweapon(Red Potion) && timeout)
The "&& timeout" is extraneous; it's already nested in the timeout block.