Lj2 GoTo :D 1.3
This plugin is SAFE for demo recording. -SchlumPF
well i see the idea soo i complete that plugin :D
Original Plugin: caffeine
Now i finish
DownLoad
Command:
say /goto
Or only /goto to open the menu
PD: Is you type a wrong block, teleport to Start Place of the same if you don´t type any number.
Change of 1.3
+ New secret Room
+ Color Chat
+ PLUGIN_HANDLED for don´t flood the chat with this plugin.
I want to recive news ideas :P
Update. :D 1.0
your "say /goto" command opens a menu? you should update this to make just "say /goto" open a menu and "say /goto " instantly teleporting you
nice idea
Originally posted by SchlumPFyour "say /goto" command opens a menu? you should update this to make just "say /goto" open a menu and "say /goto " instantly teleporting you
Update
Originally posted by ReymonPD: Is you type a wrong block, teleport to Start Place of the same if you don´t type any number.
this might be helpful for you:
http://www.amxmodx.org/funcwiki.php?go=func&id=44
pls remove these checks:
if( !equali(mapname, "kz_longjumps2", 13) )
and rather check in plugin_init whether the map is kz_lj2 ->
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
register_cvar("goto", VERSION, FCVAR_SERVER | FCVAR_SPONLY );
new mapname[32];
get_mapname(mapname, 31);
if(equali(mapname, "kz_longjumps2"))
{
register_clcmd("say", "hooksay");
register_clcmd("say_team", "hooksay");
}
}
clamp is like this?
stock is_block_valid(value, num1, num2)
{
if( value >= num1 && value <= num2 )
return true;
return false;
}
nope. i didnt look up the exact code but it works like this:
clamp( value, min, max )
{
if( value > max )
return max;
else if( value < min )
return min;
return value;
}
please fix the link or upload again :)
Originally posted by opaplease fix the link or upload again :)
+1
http://xpaw.ampaste.net/f2e3c8c46
Please log in to post replies.