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

Im rly angry with quest script!


viesty
 Share

Recommended Posts

Wow I am so angry about quest script!!!  :angry:
I dont know why the script isn't working.
**Script:**
Sub ScriptedNPC(index, Script)
Select Case Script
    Case 0
        If CheckInventoryForItem(index, 44) = true Then
            Call TakeItem(index, 44, 0)
            Call GiveItem(index, 40, 0)
            Call PlayerMsg(index, "Congratulations quest completed!", 4)
        Else
            Call PlayerMsg(index, "You don't have item 44", 4)
        End If
End Select
End Sub

And i putted scripted npc on script 0\. **BUT** when i try to attack it, it shows:
![](http://img240.imageshack.us/img240/1588/hell.png)

Some help please?
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...