Basics of Scripting
View Single Post
December 14th, 2011 (05:14 PM). Edited December 25th, 2011 by AustinWolff.
Join Date: Aug 2011
Location: LA, California
I have another scripting problem, this one includes the money commands.
I am using ruby and it is a script box script. The point is a guy walks up to you, gives you money, then walks away. however, here are the problems:
1. the showmoney command doesnt work, meaning the money box never appears.
2. the person ID is 0211 in Amap, and in my script I setflag 0x211 but he doesnt disapear
Here is the script:
if 0x1 goto @done
applymovement 0x3 @move
msgbox @1 0x6
showmoney 0x00 0x00 0x00
givemoney 0x1F4 0x00
updatemoney 0x00 0x00 0x00
hidemoney 0x00 0x00
msgbox @2 0x6
msgbox @3 0x6
applymovement 0x3 @move2
= Hi trainer! I feel the need\nto share my money!
= [red_rs]\v\h01: Thanks!
= [blue_rs]Savings Guy: No problem
I have left. Feel free to disable my account.
View Public Profile
Send a private message to AustinWolff
Find all posts by AustinWolff
Find threads started by AustinWolff
Ignore Posts by AustinWolff