vijay30393 Posted August 24, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Share 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 Link to comment Share on other sites More sharing options...
brunoshp Posted August 24, 2014 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 180 Reputation: 7 Joined: 12/19/12 Last Seen: November 21, 2024 Share Posted August 24, 2014 first you need to fix it: my_are_fifo1!=NULL Quote Link to comment Share on other sites More sharing options...
vijay30393 Posted August 24, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
brunoshp Posted August 24, 2014 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 180 Reputation: 7 Joined: 12/19/12 Last Seen: November 21, 2024 Share Posted August 24, 2014 i know, but is necessary to view others! Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 26, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 26, 2014 if( pc_readaccountreg(sd,"#DOMINATION") ) Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.