vijay30393 Posted August 24, 2014 Posted August 24, 2014 I want to add a global reg unit and that is #DOMINATION, Its like a points.Player then need have atlest 1 to bypass the script_pushint(st, -2);.Here are the codes.http://pastebin.com/zN3gikWv This is the line i need to add up that #DOMINATION if(sd2 && (sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){ script_pushint(st, -2); I tried this but i'm getting errorsif(sd2 && (sd2->status.#DOMINATION < 1 || sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){ script_pushint(st, -2);Heads up would be grate, Thanks! Quote
brunoshp Posted August 24, 2014 Posted August 24, 2014 first you need to fix it: my_are_fifo1!=NULL Quote
vijay30393 Posted August 24, 2014 Author Posted August 24, 2014 I don't have problem with that.I just need a way to point the global reg val in the src code line.Script on npc's i know but not the code's in src. Quote
brunoshp Posted August 24, 2014 Posted August 24, 2014 i know, but is necessary to view others! Quote
Emistry Posted August 26, 2014 Posted August 26, 2014 if( pc_readaccountreg(sd,"#DOMINATION") ) Quote
Question
vijay30393
I want to add a global reg unit and that is #DOMINATION, Its like a points.
Player then need have atlest 1 to bypass the script_pushint(st, -2);.
Here are the codes.
http://pastebin.com/zN3gikWv
This is the line i need to add up that #DOMINATION
if(sd2 && (sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){
script_pushint(st, -2);
I tried this but i'm getting errors
if(sd2 && (sd2->status.#DOMINATION < 1 || sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){
script_pushint(st, -2);
Heads up would be grate, Thanks!
4 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.