1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | BUILDIN_FUNC( instance_check_party ){ TBL_PC *sd; struct party_data* p; int p_id = script_getnum(st,2); int limit = script_hasdata(st,3) ? script_getnum(st,3) : 0; int minLvl = script_hasdata(st,4) ? script_getnum(st,4) : 1; int maxLvl = script_hasdata(st,5) ? script_getnum(st,5) : MAX_LEVEL; p = party_search(p_id); if(!p) return 0; for( i = 0; i < MAX_PARTY; i++ ) return 0; } |