Jump to content
  • 0

request easy script


Kariton Revolution

Question


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   127
  • Joined:  04/04/16
  • Last Seen:  

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 by Technoken
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

Thankyou :D . i don't know it too :D 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 /?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.02
  • Content Count:  1016
  • Reputation:   191
  • Joined:  11/27/14
  • Last Seen:  

Please dont Skip the error, You solve your error by doing that but the error are still their ..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

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 

 

post-467-0-13584900-1460024139_thumb.png

 

instead of no weapon style it show bow attacking style 

 

post-467-0-53400600-1460024963_thumb.png

 

here's my Sniper Sprite :sniper sprite.rar

--------------------------------------------------------------------------------------------

 

fixed. just right now 6:45PM Phil time . 

 

i just replace some image in actor

Edited by Kariton Revolution
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  


- 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;

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...