Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

New at scripting


IrunoHatake
 Share

Recommended Posts

hey I'm new at scripting and I'm have some trouble :P
i know how to do some of it but….

this script is kind of like start up weapons but its money and it does it a few times after and i probably need to edit char files 2\. The script is a allowance script the part I'm stuck on is the whole increase money part.
i looked at scripts that use items and i found some thing called check item. this is what it looks like...
```
Sub Allowance(Index)

Dim Money

Money = 1
Do While Money < 2
If Money(Index) = 1 Then
    CheckItem(index, 1) = 1 Then
        Money = Money + 1
End Sub
```this code uses a variable called money and also should the call for this script look like this?
```
Call Allowence(Index, "Allowence")
```like i said I'm fairly new to scripting
and btw i probably don't make much sense on what i said  :neutral:
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...