Raised This Month: $51 Target: $400
 12% 

[REQ]Custom Plugins!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 07-27-2011 , 23:15   [REQ]Custom Plugins!
Reply With Quote #1

Hey again , i don't know any other place for this so i try again here, i need some plugins for my HNS server bcuz' it's kinda bad looking, so i need to make some changes. 2pac said it 2

1. i have this adminchat.amxx and it's so cool, when u are admin and u are T, the messages u type in the amx_chat will show up in red for others, and blue if CTs, but i have like 60 admins, so i need amx_chat2, so i can put it to acces only for me and the other helping owners.

2. i use HNS most of the times the plugin name is "hnswarmingedit.amxx" it's exolents' but i sometimes need to add "blockspub.amxx" or "hnsdm.amxx + Map_Spawns_Editor.amxx" is there a way for admins to do that in game without connecting to ftp? i know there are some plugins for that but i need something simple bcuz i already made a mess on the server and it's kinda laggy.

3. is there a plugin that can tell u which plugins make lag or are not workin too well? i need 1 if it's something u can have

4. amx_ask , a plugin that would bring a hud for each players with all the maps from the maps.ini and they would choose their favorite map , and when the vote finishes the most voted 3 maps to come up , and admins know what to vote for the nextmap


5. i have this Lastman plugin i don't know if it's laggy but the messages are kinda fast and to small to be read can somebody make it way better for 2011?

6.i need a plugin with the cvar: amx_helper 1/2/3/4/5/6/7/8(number of admins to go spec) and that cvar will automatly put the lower admin in flags , spec so he would do his job as an admin not a player

7. i think this would be the best vote plugin ever, i need a autovote message at the end of the map , for players to vote the admins that were on that current map , and would have to vote the admin's performances , and save it to a log each map, so when i check it on ftp in logs, i would know which is the best admin , and which not according to players. 2 mins before the end of the map.

8. i would like a plugin like frostnade, but on he grenade, for cts&ts that would make the slap efect but a little bigger but not too much, at the limit so it would move the enemy but no hp lost.

9. and if it's possible an amx_mute player , that make an player unbind y and u and doesn't let him use say say_team or messagemode in console and if amx_mute player 2xtimes would undo 1rst command

10.like i said i have like 60 admins+slots is there a way to limit commands per map? i mean if there are 10 admins on the server and each one uses 1 amx_slay 1 amx_slap it would be like 20 commands , can a private message come up and say "Admins commands reach to a limit 30 commands, try again on the next map" and that couldn't change on reconnect/retry.

11.a admin limiter commands for each admin , per day, that means only 30-50 commands per day for each admin , and every rang would have a cvar for me to chose the number of commands, like 30 gags , 20 slays , 60 bans, or something like that

12.u know this magic market plugin, i have it , but , i share it with other admins , can somebody make it so it's called +trip , and would be only this 2 colours LIME AND LIGHT YELLOW? both together so only i can use it? i really would love that. For getting high d

PS: i really need a help on this , i know i made a mess out of this post, but the help i get it's for my hns players , not for my lan server with my bots thanks
__________________



Last edited by PaTrick C.; 07-27-2011 at 23:19.
PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 07-28-2011 , 01:59   Re: [REQ]Custom Plugins!
Reply With Quote #2

#12:

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <xs>

#define PLUGIN "Magic Marker"
#define VERSION "3.1"
#define AUTHOR "stupok69"

#define MAX_PLAYERS 32
#define USAGE_LEVEL ADMIN_KICK

new Float:origin[MAX_PLAYERS+1][3]
new 
prethink_counter[MAX_PLAYERS+1]
new 
bool:is_drawing[MAX_PLAYERS+1]
new 
bool:is_holding[MAX_PLAYERS+1]

new 
spriteid

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("+paint""paint_handler"USAGE_LEVEL"Paint on the walls!")
    
register_clcmd("-paint""paint_handler"USAGE_LEVEL"Paint on the walls!")
    
register_forward(FM_PlayerPreThink"forward_FM_PlayerPreThink"0)
}

public 
plugin_precache()
{
    
spriteid precache_model("sprites/lgtning.spr")
}

public 
paint_handler(idlevelcid)
{
    if(!
cmd_access(idlevelcid1))
        return 
PLUGIN_HANDLED
    
    
if(!is_user_alive(id))
    {
        
client_print(idprint_chat"* You cannot use the magic marker when you are dead.")
        return 
PLUGIN_HANDLED
    
}
    
    static 
cmd[2]
    
read_argv(0cmd1)
    
    switch(
cmd[0])
    {
        case 
'+'is_drawing[id] = true
        
case '-'is_drawing[id] = false
    
}
    return 
PLUGIN_HANDLED
}

public 
forward_FM_PlayerPreThink(id)
{
    if(
prethink_counter[id]++ > 5)
    {
        if(
is_drawing[id] && !is_aiming_at_sky(id))
        {
            static 
Float:cur_origin[3], Float:distance

            cur_origin 
origin[id]
            
            if(!
is_holding[id])
            {
                
fm_get_aim_origin(idorigin[id])
                
move_toward_client(idorigin[id])
                
is_holding[id] = true
                
return FMRES_IGNORED
            
}
            
            
fm_get_aim_origin(idorigin[id])
            
move_toward_client(idorigin[id])
            
            
distance get_distance_f(origin[id], cur_origin)
            
            if(
distance 2)
            {
                
draw_line(origin[id], cur_origin)
            }
        }
        else
        {
            
is_holding[id] = false
        
}
        
prethink_counter[id] = 0
    
}
    
    return 
FMRES_IGNORED
}

stock draw_line(Float:origin1[3], Float:origin2[3])
{
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte(TE_BEAMPOINTS)
    
engfunc(EngFunc_WriteCoordorigin1[0])
    
engfunc(EngFunc_WriteCoordorigin1[1])
    
engfunc(EngFunc_WriteCoordorigin1[2])
    
engfunc(EngFunc_WriteCoordorigin2[0])
    
engfunc(EngFunc_WriteCoordorigin2[1])
    
engfunc(EngFunc_WriteCoordorigin2[2])
    
write_short(spriteid)
    
write_byte(0)
    
write_byte(10)
    
write_byte(255)
    
write_byte(50)
    
write_byte(0)
    
write_byte(random(2) ? 255 191)
    
write_byte(255)
    
write_byte(0)
    
write_byte(255)
    
write_byte(0)
    
message_end()
}

//from fakemeta_util.inc
stock fm_get_aim_origin(indexFloat:origin[3])
{
    static 
Float:start[3], Float:view_ofs[3]
    
pev(indexpev_originstart)
    
pev(indexpev_view_ofsview_ofs)
    
xs_vec_add(startview_ofsstart)
    
    static 
Float:dest[3]
    
pev(indexpev_v_angledest)
    
engfunc(EngFunc_MakeVectorsdest)
    
global_get(glb_v_forwarddest)
    
xs_vec_mul_scalar(dest9999.0dest)
    
xs_vec_add(startdestdest)
    
    
engfunc(EngFunc_TraceLinestartdest0index0)
    
get_tr2(0TR_vecEndPosorigin)
    
    return 
1
}

stock move_toward_client(idFloat:origin[3])
{        
    static 
Float:player_origin[3]
    
    
pev(idpev_originplayer_origin)
    
    
origin[0] += (player_origin[0] > origin[0]) ? 1.0 : -1.0
    origin
[1] += (player_origin[1] > origin[1]) ? 1.0 : -1.0
    origin
[2] += (player_origin[2] > origin[2]) ? 1.0 : -1.0
}
//Thanks AdaskoMX!
bool:is_aiming_at_sky(index)
{
    new 
Float:origin[3];
    
fm_get_aim_origin(indexorigin);

    return 
engfunc(EngFunc_PointContentsorigin) == CONTENTS_SKY;

__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 07-28-2011 , 08:19   Re: [REQ]Custom Plugins!
Reply With Quote #3

12# iz done , i changed in .sma +paint with +trip , and works perfect both , thanks a lot , really appriciate all the help i get , and not just me other 200+ users on my serv thanks, 11 to go ddddd
__________________


PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 07-28-2011 , 11:55   Re: [REQ]Custom Plugins!
Reply With Quote #4

9 is a slow hack, but if you use amx_llama it effectively does the same thing.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 07-28-2011 , 13:47   Re: [REQ]Custom Plugins!
Reply With Quote #5

how the F i didn't think about that , yes ur right sir , thanks for the suggestion, 12/9 done thanks both, 10 more ddd
__________________


PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
razieljohn619
Senior Member
Join Date: May 2011
Location: Philippines
Old 07-29-2011 , 07:42   Re: [REQ]Custom Plugins!
Reply With Quote #6

Quote:
Originally Posted by joshknifer View Post
9 is a slow hack, but if you use amx_llama it effectively does the same thing.
how about just block the say_team and say and if they press it a message will show and said that ur not allowed to chat or something
__________________

razieljohn619 is offline
Send a message via Yahoo to razieljohn619
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 07-31-2011 , 02:25   Re: [REQ]Custom Plugins!
Reply With Quote #7

Llama is very good , any more help ? ddd
__________________


PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
Old 08-04-2011, 14:19
PaTrick C.
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 09-16-2011 , 15:39   Re: [REQ]Custom Plugins!
Reply With Quote #8

please?
__________________


PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
PaTrick C.
Member
Join Date: Apr 2007
Location: Bucharest
Old 12-03-2011 , 05:45   Re: [REQ]Custom Plugins!
Reply With Quote #9

i'm still lookin for some help , please
__________________


PaTrick C. is offline
Send a message via Yahoo to PaTrick C.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode