Jump to content

Question

Posted

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

2 answers to this question

Recommended Posts

Posted

-	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.

Posted
-	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++; } }

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...