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

(All Version) Level Required on Creating Guild


hisherwin
 Share

Recommended Posts

Find this

If Name = "" Then

PlayerMsg Founder_Index, "Your guild needs a name!", BrightRed

Exit Sub

End If

add this above it

```

' Change 20 to any level you want

If GetPlayerLevel(founder_index) < 20 Then

PlayerMsg Founder_index, "Not enough Level.", BrightGreen

Exit Sub

End If

```

be sure you add it above the first code
Link to comment
Share on other sites

```

'Change 5000 to amount

If itemamount = 0 Or itemamount < 5000 Then

PlayerMsg Founder_Index, "Not enough Gold.", BrightRed

Exit Sub

End If

```
This part isnt in the main tutorial it might confuse some people you should change it so people who didn't add that extra feature won't be as confused, other wise looks great and I added you to the extra features list.

use search for

```

If Name = "" Then

PlayerMsg Founder_Index, "Your guild needs a name!", BrightRed

Exit Sub

End If

```
like I did for my cost addon.
Link to comment
Share on other sites

> ```
>
> 'Change 5000 to amount
>
> If itemamount = 0 Or itemamount < 5000 Then
>
> PlayerMsg Founder_Index, "Not enough Gold.", BrightRed
>
> Exit Sub
>
> End If
>
> ```
> This part isnt in the main tutorial it might confuse some people you should change it so people who didn't add that extra feature won't be as confused, other wise looks great and I added you to the extra features list.
>
> use search for
>
> ```
>
> If Name = "" Then
>
> PlayerMsg Founder_Index, "Your guild needs a name!", BrightRed
>
> Exit Sub
>
> End If
>
> ```
> like I did for my cost addon.

ok , I'll edit it
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...