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

My third script, is it ok?


omegas7
 Share

Recommended Posts

Hello, this is my third Sadscript script, for the Eclipse Evolution 1.0.

I am still training, but I think I am getting betterĀ  :lol:.

This time I decided to make a script a little harder.
This script is about an Npc that will heal you.

Some time ago, I asked for an Npc for healing the player, and someone
told me about a script, anyways, this script was a little confusing,
so I decided to make my own, more simple, I don't remember what did that script said, it look confusing.

Oh well, here I go.

```
Call Playermsg (Index, "Let me heal you.", 15)
Max = Get PlayerMaxHP

Set PlayerHP (Index, Max)
Call SendHp (Index)
Call Playermsg (Index, "Done, I have healed you.", 15)

```
Does that script works? Is it ok?
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...