Jump to content
  • 0

Item Consumption BattleGround


Question

Posted

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?

4 answers to this question

Recommended Posts

Posted (edited)

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
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...