Kariton Revolution Posted April 6, 2016 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share Posted April 6, 2016 how can i make a script that will tell to player job is sniper that they can't use dagger every online if ( job == 4012) { dispbottom " Please Avoid using Dagger or attack without bow because it will cause error to you thanks " Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 6, 2016 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 6, 2016 (edited) OnPCLoginEvent: if( BaseClass==Job_Archer ) dispbottom "Please Avoid using Dagger or attack without bow because it will cause error to you thanks"; end; EDIT: anyway, why does it give an error? Edited April 6, 2016 by Technoken Quote Link to comment Share on other sites More sharing options...
0 Kariton Revolution Posted April 7, 2016 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share Posted April 7, 2016 Thankyou . i don't know it too hahah when im using dagger the sprite show its attacking like a bow :X i think i replace in weapontabl ? in lua OnPCLoginEvent: if( BaseClass==Job_Archer ) dispbottom "Please Avoid using Dagger or attack without bow because it will cause error to you thanks"; end; EDIT: anyway, why does it give an error? OnPCLoginEvent: if( BaseClass==Job_Archer ) dispbottom "Please Avoid using Dagger or attack without bow because it will cause error to you thanks"; end; EDIT: anyway, why does it give an error? its not working sir :X Quote Link to comment Share on other sites More sharing options...
0 Radian Posted April 7, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted April 7, 2016 I guess the best way to solve this kind of issue is you need to fix the error on client side. some people might ignore the message. Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted April 7, 2016 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted April 7, 2016 Please dont Skip the error, You solve your error by doing that but the error are still their .. Quote Link to comment Share on other sites More sharing options...
0 Kariton Revolution Posted April 7, 2016 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share Posted April 7, 2016 (edited) Please dont Skip the error, You solve your error by doing that but the error are still their .. I guess the best way to solve this kind of issue is you need to fix the error on client side. some people might ignore the message. i don't know where is the error in sniper sprite because i use the sprite of the KRO i test the no weapon attackin in Act Editor its working . but ingame when i hit without weapon they show the attack of bow instead of no weapon instead of no weapon style it show bow attacking style here's my Sniper Sprite :sniper sprite.rar -------------------------------------------------------------------------------------------- fixed. just right now 6:45PM Phil time . i just replace some image in actor Edited April 7, 2016 by Kariton Revolution Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 7, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 7, 2016 - script Sample#npc -1,{ OnPCStatCalcEvent: .@equipid = getequipid( EQI_HAND_L ); if ( .@equipid > 0 && BaseJob == Job_Archer ) if ( getiteminfo( .@equipid,11 ) == 1 ) { unequip EQI_HAND_L; } end; } Quote Link to comment Share on other sites More sharing options...
Question
Kariton Revolution
how can i make a script that will tell to player job is sniper that they can't use dagger every online
if ( job == 4012) {
dispbottom " Please Avoid using Dagger or attack without bow because it will cause error to you thanks "
Link to comment
Share on other sites
6 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.