Kariton Revolution Posted April 6, 2016 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
0 Technoken Posted April 6, 2016 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
0 Kariton Revolution Posted April 7, 2016 Author 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
0 Radian Posted April 7, 2016 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
0 Poring King Posted April 7, 2016 Posted April 7, 2016 Please dont Skip the error, You solve your error by doing that but the error are still their .. Quote
0 Kariton Revolution Posted April 7, 2016 Author 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
0 Emistry Posted April 7, 2016 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
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 "
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.