buffalo Posted April 6, 2015 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/25/15 Last Seen: April 9, 2015 Share Posted April 6, 2015 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 Quote Link to comment Share on other sites More sharing options...
Skorm Posted April 6, 2015 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted April 6, 2015 - 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. Quote Link to comment Share on other sites More sharing options...
buffalo Posted April 7, 2015 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/25/15 Last Seen: April 9, 2015 Author Share Posted April 7, 2015 - 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++; } } Quote Link to comment Share on other sites More sharing options...
Question
buffalo
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.