Jump to content
  • 0

Item Consumption BattleGround


Skkont

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  36
  • Reputation:   1
  • Joined:  01/07/14
  • Last Seen:  

Hi,

 

I have a Flavius CTF script, it works well... but i want Block Skills and Item usage to a player...

 

 

OnRedFlagCarrier:
if($@RedFlagTaken == 1) {
    if($@Red_Flag_Carrier$ == strcharinfo(0)) {
        sc_end SC_CLOAKING;
        sc_end SC_CHASEWALK;
        sc_end SC_HIDING;
        sc_start 594,2000,1;
        emotion e_hlp,1;
        percentheal -7,0;
        specialeffect2 58;
        sleep2 2000;
        goto OnRedFlagCarrier;}}
sc_end 594;    
end;
}
 
I tried disable_items; but its not works... any help please?
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

read

db/[pre-]re/skill_nocast_db.txt

db/[pre-]reitem_noequip.txt

conf/mapflag/restricted.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  36
  • Reputation:   1
  • Joined:  01/07/14
  • Last Seen:  

Yep but i want just one player is disable the skills, the player who has the flag. Another players can use skills.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Not sure, but you have already an idea, which is looping. Doesn't it work out for you?

Muting the player is another workaround but it seems illogical though..

Edited by sandbox
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

Yep but i want just one player is disable the skills, the player who has the flag. Another players can use skills.

prontera,156,191,5	script	kjdhfkjsf	100,{
	setoption Option_Xmas, 1;
	dispbottom "1";
	sleep2 5000;
	setoption Option_Xmas, 0;
	dispbottom "0";
}
tricks

use Option_Xmas or Option_Summer to forbid that player from attack or use skills

EDIT: opss~~ still can use item consumption though

Edited by AnnieRuru
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...