about @megaphone

glemor123

New member
Messages
287
Points
0
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

 
Code:
if( @delay < gettimetick(2) ){	input @megaphone$;	announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;	@delay += 30;}end;
 
Last edited by a moderator:
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

Code:
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;
 
Last edited by a moderator:
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?

 
Last edited by a moderator:
Back
Top