Jump to content
  • 0

Help me


buffalo

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/25/15
  • Last Seen:  

someone can tell me what wrong with this npc

function script nevasca1 { OnPcLoginEvent + If (1), skill 89,1,0; }

 

I want this npc of the skill to Playr, only he continue with skill after relog

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1282
  • Reputation:   393
  • Joined:  02/03/12
  • Last Seen:  

-	script	nevasca1	-1,{ OnPCLoginEvent: if ( player_login ){ skill 89,1,0; } else { player_login++; } }

Could also count the logins from sql...

But you can't call special tags from inside functions.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/25/15
  • Last Seen:  

-	script	nevasca1	-1,{ OnPCLoginEvent: if ( player_login ){ skill 89,1,0; } else { player_login++; } }

Could also count the logins from sql...

But you can't call special tags from inside functions.

 

the scrip gave no error, but not to use the book of skill, I made a well it works but it does not save the skill in char

 

function script nevasca1 { skill 89,1,0; }
- script nevasca -1,{ OnPCLoginEvent: if ( player_login ){ skill 89,1,0; } else { player_login++; } }
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...