Jump to content
  • 0
Sign in to follow this  
glemor123

about @megaphone

Question

Script: <"input @megaphone$;		announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;		end; ">

i added that script to my vip ticket. how to add delay for each shout? i want 15 seconds delay for each shout

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

 

if( @delay < gettimetick(2) ){	input @megaphone$;	announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;	@delay += 30;}end;

fixed

this is my code thanks to sir emistry

if(@Delay < gettimetick(2)){	input @megaphone$;	announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;	set @Delay,gettimetick(2) + 180;}end;

but for example there will be a message popup if the megaphone is still not available due to the delay

 

problem fixed

if(@Delay < gettimetick(2)){	input @megaphone$;	announce strcharinfo(0) + ": " + @megaphone$,bc_all,0x99FFCC;	set @Delay,gettimetick(2) + 180;}else if(@Delay > 0){mes "Sorry , but you have to wait 3 Minutes To Use VIP Shout Again.";close;}end;
Edited by glemor123

Share this post


Link to post
Share on other sites
  • 0
if( @delay < gettimetick(2) ){	input @megaphone$;	announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;	@delay += 30;}end;

Share this post


Link to post
Share on other sites
  • 0

Umm. Sirs, can i ask if where (folders,.txts) do you put this kind of scripts and how can they be applied into the game?

Edited by Jetoy05

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.