I took this from another post but i want to add to it.
- script refresh_pvp -1,{
OnInit:
bindatcmd "refresh",strnpcinfo(0) +"::OnRefresh";
end;
OnRefresh:
if( getmapflag( strcharinfo(3),mf_pvp ) )
message strcharinfo(0),"@refresh is not allowed in pvp map.";
end;
}
i would like to be able to limit the ability to use this @command once every 4 sec in any map. In addition to disabling it in pvp. Who would i be able to do that. Thanks
Question
mirabell
I took this from another post but i want to add to it.
- script refresh_pvp -1,{ OnInit: bindatcmd "refresh",strnpcinfo(0) +"::OnRefresh"; end; OnRefresh: if( getmapflag( strcharinfo(3),mf_pvp ) ) message strcharinfo(0),"@refresh is not allowed in pvp map."; end; }
i would like to be able to limit the ability to use this @command once every 4 sec in any map. In addition to disabling it in pvp. Who would i be able to do that. Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.