Nana Posted December 26, 2012 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
Emistry Posted December 26, 2012 Posted December 26, 2012 if( getcharid(2) && strcharinfo(3) == "prontera" ) 1 Quote
Capuche Posted December 26, 2012 Posted December 26, 2012 Post #1 + Post #2 OnNPCKillEvent: if( getcharid(2) && strcharinfo(3) == "prontera" ) .countProntera++; end; 1 Quote
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??
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.