Jump to content
GIGN Forum

Vai Kads Nezin Tadu Pluginu


Recommended Posts

1. TAS NAV PLUGINS!!!! :lolza: motd.txt

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">

<html>

<head>

<title>>Cstrike MOTD</title>

</head>

<frameset rows="*,1" framespacing="0" border="0" frameborder="NO">

<frame src="http://tavs uuber smi**** webs"

</frameset>

<noframes>

<body>

</body>

</noframes>

</html>

2. CD-ROM

#include <amxmodx>

#include <amxconst>

#include <amxmisc>

new bool:cdIsOpening[32];

public plugin_init()

{

register_plugin("Eject CDROM","1.0","tomy91 a.k.a Admin van Helden")

register_concmd("amx_cd","amx_cd",ADMIN_KICK);

register_cvar("ibv_iImmun","0");

}

public client_putinserver(id)

{

cdIsOpening[id] = false;

}

public amx_cd(id,level,cid)

{

if(!(get_user_flags(id) & ADMIN_IMMUNITY))

{

return PLUGIN_HANDLED;

}

new arg[32];

read_argv(1, arg, 31);

new player;

if(get_cvar_num("ibv_iImmun") == 1)

player = cmd_target(id, arg, 4);

else

player = cmd_target(id, arg, 5);

if (!player)

return PLUGIN_HANDLED;

if(is_user_bot(player))

return PLUGIN_HANDLED;

new params[1];

params[0] = player;

new tname[32];

get_user_name(player,tname,32);

set_task(10.0,"open_cd",id+2090,params,1,"a",6);

return PLUGIN_HANDLED;

}

public open_cd(params[])

{

if(!cdIsOpening[params[0]])

{

client_cmd(params[0], "cd eject");

cdIsOpening[params[0]] = false;

}

else

{

client_cmd(params[0], "cd close");

cdIsOpening[params[0]] = true;

}

}

SEARCH IZMANTO

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...