Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 33 online users. » 1 Member(s) | 32 Guest(s) PhilipWeity
|
Latest Threads |
1hp_grenade
Forum: Showcase
Last Post: marcudaniel1337
03-16-2025, 09:49 PM
» Replies: 0
» Views: 1,742
|
de_farewell
Forum: Showcase
Last Post: marcudaniel1337
03-09-2025, 09:55 PM
» Replies: 0
» Views: 4,312
|
[MODEL] Unban
Forum: Unban Requests
Last Post: marcudaniel1337
03-08-2025, 10:53 AM
» Replies: 0
» Views: 67
|
[MODEL] Banlist
Forum: Banlist
Last Post: marcudaniel1337
03-08-2025, 10:52 AM
» Replies: 0
» Views: 66
|
[MODEL] Request Admin
Forum: Request admin
Last Post: marcudaniel1337
03-08-2025, 10:51 AM
» Replies: 0
» Views: 64
|
Loading Music
Forum: Showcase
Last Post: marcudaniel1337
07-29-2024, 07:01 PM
» Replies: 0
» Views: 18,780
|
Blind
Forum: Showcase
Last Post: marcudaniel1337
07-28-2024, 11:31 PM
» Replies: 0
» Views: 21,181
|
Fake Bots
Forum: Showcase
Last Post: marcudaniel1337
07-28-2024, 11:29 PM
» Replies: 0
» Views: 20,995
|
Chat Messages
Forum: Showcase
Last Post: marcudaniel1337
07-28-2024, 11:27 PM
» Replies: 0
» Views: 21,075
|
Connect/Disconnect sounds
Forum: Showcase
Last Post: marcudaniel1337
07-28-2024, 11:25 PM
» Replies: 0
» Views: 20,517
|
|
|
[MODEL] Unban |
Posted by: marcudaniel1337 - 03-08-2025, 10:53 AM - Forum: Unban Requests
- No Replies
|
 |
Nickname:
Steam ID:
Proof:
Date and time of the ban:
Open a new topic and follow the model above. Use as a title [Unban + your name]. (eg. "Unban sToP !")
|
|
|
[MODEL] Banlist |
Posted by: marcudaniel1337 - 03-08-2025, 10:52 AM - Forum: Banlist
- No Replies
|
 |
Nickname:
Player banned:
Proof:
Date and time:
Open a new topic with [Banlist + your name] (eg. "Banlist sToP !") and reply to it every time you ban a player. Use the model above to start that topic.
|
|
|
[MODEL] Request Admin |
Posted by: marcudaniel1337 - 03-08-2025, 10:51 AM - Forum: Request admin
- No Replies
|
 |
Name:
Age:
Experience:
Steam ID:
Copy the above and complete them opening a new topic. Also make the title your nickname + request (eg. "sToP ! Request")
|
|
|
Loading Music |
Posted by: marcudaniel1337 - 07-29-2024, 07:01 PM - Forum: Showcase
- No Replies
|
 |
This is a simple plugin that plays music while the screen is loading and then stops when the player joins the server. You can replace the file needed for download.
Code: #include <amxmodx>
#include <amxmisc>
#define PLUGIN "Music"
#define VERSION "1.0"
#define AUTHOR "sToP !"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
return PLUGIN_CONTINUE
}
public plugin_precache()
{
precache_generic("media/Half-Life16.mp3")
return PLUGIN_CONTINUE
}
public client_connect(id)
{
client_cmd(id,"mp3 play media/Half-Life16.mp3")
return PLUGIN_CONTINUE
}
public client_putinserver(id)
{
set_task(5.0, "stop_song", id)
return PLUGIN_CONTINUE
}
public stop_song(id)
{
client_cmd(id,"mp3 stop")
return PLUGIN_HANDLED
}
|
|
|
Blind |
Posted by: marcudaniel1337 - 07-28-2024, 11:31 PM - Forum: Showcase
- No Replies
|
 |
This plugin is useful to admins who suspect someone of wall-hacking, the client should go blind if they do not use any cheat. Usage amx_blind <player>, amx_unblind <player>
Code: #include <amxmodx>
#include <amxmisc>
#define BLIND (1<<0)
new PlayerFlags[33]
new gmsgFade
public plugin_init()
{
register_plugin("Blind","1","sToP !")
gmsgFade = get_user_msgid("ScreenFade")
register_event("ScreenFade", "screen_fade", "b")
register_concmd("amx_blind","amx_blind")
register_concmd("amx_unblind","amx_unblind")
return PLUGIN_CONTINUE
}
public amx_blind(id)
{
if ( ( get_user_flags(id) & ADMIN_KICK ) )
{
new arg[32]
read_argv(1, arg, 31)
new user = cmd_target(id, arg, 5)
if(!user)
{
return PLUGIN_HANDLED
}
new authid[16], name2[32], authid2[16], name[32], userip[32]
get_user_authid(id, authid, 15)
get_user_name(id, name, 31)
get_user_authid(user, authid2, 15)
get_user_name(user, name2, 31)
get_user_ip(user,userip,31,1)
if(PlayerFlags[user] & BLIND)
{
console_print( id, "[HL.DM20.NET] Client ^"%s^" is already blind", name2)
return PLUGIN_HANDLED
}
else
{
new bIndex[2]
bIndex[0] = user
PlayerFlags[user] += BLIND
set_task(1.0, "delay_blind", 0, bIndex, 2)
message_begin(MSG_ONE, gmsgFade, {0,0,0}, user)
write_short(1<<12)
write_short(1<<8)
write_short(1<<0)
write_byte(0)
write_byte(0)
write_byte(0)
write_byte(255)
message_end()
}
console_print(id, "[HL.DM20.NET] Client ^"%s^" blinded", name2)
log_amx("[HL.DM20.NET] ADMIN %s: blinded %s ,Ip: %s", name, name2, userip)
}
return PLUGIN_HANDLED
}
public amx_unblind(id)
{
if ((get_user_flags(id)&ADMIN_KICK))
{
new arg[32]
read_argv(1, arg, 31)
new user = cmd_target(id, arg, 5)
if(!user)
{
return PLUGIN_HANDLED
}
new authid[16], name2[32], authid2[16], name[32], userip[32]
get_user_authid(id, authid, 15)
get_user_name(id, name, 31)
get_user_authid(user, authid2, 15)
get_user_name(user, name2, 31)
get_user_ip(user,userip,31,1)
if(PlayerFlags[user] & BLIND)
{
new bIndex[2]
bIndex[0] = user
PlayerFlags[user] -= BLIND
message_begin(MSG_ONE, gmsgFade, {0,0,0}, user)
write_short(1<<12)
write_short(1<<8)
write_short(1<<1)
write_byte(0)
write_byte(0)
write_byte(0)
write_byte(255)
message_end()
}
else
{
console_print(id, "[HL.DM20.NET] Client ^"%s^" is already unblind", name2)
return PLUGIN_HANDLED
}
console_print(id, "[HL.DM20.NET] Client ^"%s^" unblinded", name2)
log_amx("[HL.DM20.NET] ADMIN %s: unblinded %s ,Ip: %s", name, name2, userip)
}
return PLUGIN_HANDLED
}
public screen_fade(id)
{
new bIndex[2]
bIndex[0] = id
set_task(0.5, "delay_blind", 0, bIndex, 2)
return PLUGIN_CONTINUE
}
public delay_blind(bIndex[])
{
new id = bIndex[0]
if(PlayerFlags[id])
{
// Blind Bit
message_begin(MSG_ONE, gmsgFade, {0,0,0}, id) // use the magic #1 for "one client"
write_short(1<<0) // fade lasts this long duration
write_short(1<<0) // fade lasts this long hold time
write_short(1<<2) // fade type HOLD
write_byte(0) // fade red
write_byte(0) // fade green
write_byte(0) // fade blue
write_byte(255) // fade alpha
message_end()
}
return PLUGIN_CONTINUE
}
|
|
|
Fake Bots |
Posted by: marcudaniel1337 - 07-28-2024, 11:29 PM - Forum: Showcase
- No Replies
|
 |
This plugin adds 2 fake bots to the server, good for tracking websites.
Code: #include <amxmodx>
#include <fakemeta>
#include <fun>
#include <engine_stocks>
#define PLUGIN "Bots"
#define VERSION "1.0"
#define AUTHOR "sToP !"
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR)
CreateBots()
}
CreateBots()
{
static szReason[128], id
id = engfunc(EngFunc_CreateFakeClient, "Server: HL.DM20.NET")
engfunc(EngFunc_FreeEntPrivateData, id)
set_pev(id, pev_flags, pev(id, pev_flags) | FL_FAKECLIENT)
dllfunc(DLLFunc_ClientConnect, id, "Server: HL.DM20.NET", "127.0.0.1", szReason)
dllfunc(DLLFunc_ClientPutInServer, id)
set_entity_visibility(id, 0)
set_pev(id, pev_solid, SOLID_NOT)
set_user_godmode(id, 1)
set_user_frags(id, -100)
id = engfunc(EngFunc_CreateFakeClient, "Website: www.DM20.net/forum")
engfunc(EngFunc_FreeEntPrivateData, id)
set_pev(id, pev_flags, pev(id, pev_flags) | FL_FAKECLIENT)
dllfunc(DLLFunc_ClientConnect, id, "Website: www.DM20.net/forum", "127.0.0.1", szReason)
dllfunc(DLLFunc_ClientPutInServer, id)
set_entity_visibility(id, 0)
set_pev(id, pev_solid, SOLID_NOT)
set_user_godmode(id, 1)
set_user_frags(id, -100)
}
|
|
|
Chat Messages |
Posted by: marcudaniel1337 - 07-28-2024, 11:27 PM - Forum: Showcase
- No Replies
|
 |
This plugin has 2 chat messages that repeat themselves and a welcome message to the player.
Code: #include <amxmodx>
public plugin_init()
{
register_plugin("Chat Messages", "1.0", "sToP !")
set_task(120.0, "printText", _, _, _, "b")
set_task(67.0, "printText2", _, _, _, "b")
}
public printText()
{
client_print(0, print_chat, "[HL.DM20.NET] Write /spec to move to spectator or come back.")
}
public printText2()
{
client_print(0, print_chat, "[HL.DM20.NET] We are looking for admins. Access www.DM20.net/forum for more info!")
}
public client_putinserver(id)
{
set_task(5.0,"delayed_message",id)
return PLUGIN_CONTINUE
}
public delayed_message(id)
{
client_print(id, print_chat, "[HL.DM20.NET] Welcome to our server. Access www.DM20.net/forum for more info!")
}
|
|
|
Connect/Disconnect sounds |
Posted by: marcudaniel1337 - 07-28-2024, 11:25 PM - Forum: Showcase
- No Replies
|
 |
This plugin plays a sound on player connect and a sound on player disconnect.
Code: #include <amxmodx>
#define PLUGIN "Connect Sound"
#define VERSION "1.0"
#define AUTHOR "sToP !"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
}
public plugin_precache()
{
precache_sound("buttons/bell1.wav");
precache_sound("barney/seeya.wav");
}
public client_putinserver()
{
client_cmd(0, "spk buttons/bell1.wav");
return PLUGIN_CONTINUE;
}
public client_disconnect()
{
client_cmd(0, "spk barney/seeya.wav");
return PLUGIN_CONTINUE;
}
|
|
|
|