![]() |
Money Script
Okay, I was trying a script to make a ton of money anywhere, and this is what I came up with:
NPC Code: But for some reason, it doesn't work. It's pretty obvious what I'm trying to acheive. Can anyone shed some light? |
mousedown doesn't work inside a time out.
Try "leftmousebutton" instead. |
More specifically, mousedown is an event, which is not to be placed within another conditional statement.
If you want it to drop once every time the mouse is clicked, you'd want to check for mousedown and leftmousebutton; otherwise, you'd put the leftmousebutton in a timeout. Also, two other caveats: -You can only lay money that you have -It'll only work if you decrement the player's rupees, otherwise the NPC-Server will eat it |
You'll need to use #v(mousex) and #v(mousey), otherwise it wont work(i believe).
|
Quote:
|
Ahh... ok. I was trying something using mousex and mousey, and it didnt work without #v(), so i figured it would be the same here. My apologies.
|
Quote:
|
I made something similiar to that a while ago. A long, looong while ago. o.O
|
if(mousedown) lay2 goldrupee,mousex-1,mousey-1;
|
Quote:
|
| All times are GMT +2. The time now is 07:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.