Nana Posted December 26, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Share Posted December 26, 2012 I want count the mobs that some player kill only if the player have guild and only if the player is in prontera I think is something really easy and go something like this OnPCLoadMapEvent: { if ((strcharinfo(2) != NULL) && (strcharinfo(3)=='prontera'){ OnNPCKillEvent: .countProntera += 1; end; } } Is this ok?? Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 26, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 26, 2012 if( getcharid(2) && strcharinfo(3) == "prontera" ) 1 Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 26, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted December 26, 2012 Post #1 + Post #2 OnNPCKillEvent: if( getcharid(2) && strcharinfo(3) == "prontera" ) .countProntera++; end; 1 Quote Link to comment Share on other sites More sharing options...
Nana Posted December 26, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Author Share Posted December 26, 2012 Thanks!!! n_n!! Quote Link to comment Share on other sites More sharing options...
Question
Nana
I want count the mobs that some player kill only if the player have guild and only if the player is in prontera
I think is something really easy and go something like this
OnPCLoadMapEvent:
{
if ((strcharinfo(2) != NULL) && (strcharinfo(3)=='prontera'){
OnNPCKillEvent:
.countProntera += 1;
end;
}
}
Is this ok??
Link to comment
Share on other sites
3 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.