Braydo25 Posted April 15, 2008 Author Share Posted April 15, 2008 hi i wanted to make a tile that heals both hp and mp, but what i made doesnt seem to be working. i place tile 0 and it doesnt work on a map, then i tried tile 1 and it doesnt work. whats going wrong. please helpSub ScriptedTile(index, Script)Select Case ScriptDim QDim WDim ZQ=GetPlayerClass(Index)W=GetClassMaxMP(Q)Z=GetClassMaxHP(Q)Case 0Call SetPlayerMP(Index,W)Call SetPlayerHP(Index,Z)Call Playermsg(index,"Your Mana And Health Has Been Restored!",3)End Sub Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now