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

Is my script right?


Fruitpunch
 Share

Recommended Posts

```
Function PlayerLevelUp(index, 10+)
Sub GiveItem(index, talent point, 1)
Call GiveItem(index, talent point, 1)
```
I am unsure if this is right or not? I am also confused and have a few questions?

1\. What is index?
2\. What is the diffirence between syntax and subs?

The items name is talent point. Every time they level up past ten I want the player to recieve one.
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...