Aeromesi
Custom Instance Maniac
I have a source edit that isn't compiling right but it compiles right on eAthena.
Any help please? thanks.
Now I have also added in the DEF'S also, but it still compiles with an error. And I have no idea why :/
I seriously need a helping hand with this... >_<
Code:
//Useage: partyinvite <party id>;BUILDIN_FUNC(partyinvite){int party_id,i = 0;struct map_session_data *sd = script_rid2sd(st ); struct party_data *p; party_id=script_getnum(st,2); p = party_search(party_id); if (p ) //Search leaderfor(i = 0; i < MAX_PARTY && !p->party.member[i].leader; i++); if (!p || i == MAX_PARTY) return 0;if(!sd) return 0;sd->party_joining = 1; sd->party_invite = party_id;sd->party_invite_account = p->party.member[i].account_id; if( party_member_added(party_id,sd->status.account_id,sd->status.char_id,0) )script_pushint(st,1);elsescript_pushint(st,-1);return 0;}
Now I have also added in the DEF'S also, but it still compiles with an error. And I have no idea why :/
I seriously need a helping hand with this... >_<
Last edited by a moderator: