Raised This Month: $32 Target: $400
 8% 

Looking for a scripter to hire


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DJBosma
Member
Join Date: Dec 2009
Old 04-18-2020 , 04:49   Looking for a scripter to hire
Reply With Quote #1

Dear users,

I'm looking for a scripter, which could assist me in a thing or two.

The competence should be enough to do the following requests;
1. Make a plugin that replaces the default weapon models with custom ones based on ReApi, as well as block prediction and adding custom firing sounds and shell models to it. (code examples could be provided if needed)
2. Merge a plugin that adds frags on a player after a certain time played in a banning system called GM-x. I possess the plugin based on nvault.

And requests may come in the near future, based on struggles I'm experiencing with structuring the initial server.
Someone to establish a long-term working relationship with.

Conditions are that payments will be negotiated per request.
Half upfront - After the plugin/snippet functions as negotiated at the start, in a hlds of the scripter, the other half will be paid after which source code will be provided to me.

I hope to have informed you enough to this point and am willing to hear from you soon.

PS: Looking for someone who could convert CSS->1.6 player models as well.

Regards,
Dennis

Last edited by DJBosma; 04-18-2020 at 04:54. Reason: PS: Looking for someone who could convert CSS->1.6 player models as well.
DJBosma is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 04-18-2020 , 09:13   Re: Looking for a scripter to hire
Reply With Quote #2

1.
https://forums.alliedmods.net/showthread.php?t=43979
https://forums.alliedmods.net/showth...=93746?t=93746
2.
You need to code this as well, I give you an example:
PHP Code:
new frags get_user_frags(index)
set_user_frags frags 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
DJBosma
Member
Join Date: Dec 2009
Old 04-19-2020 , 09:29   Re: Looking for a scripter to hire
Reply With Quote #3

I will look into the second plugin.

PS: Nope, that's what I was thinking https://forums.alliedmods.net/showpo...1&postcount=23

Quote:
Originally Posted by Shadows Adi View Post
2.
You need to code this as well, I give you an example:
PHP Code:
new frags get_user_frags(index)
set_user_frags frags 
How does it handle people who already have flag X, because the optimal way is to load it after GM-x.

This is the part adding flags, I assume remove_user_flags( id , ADMIN_USER ); has to be executed in order to add the flags properly instead of z + x

PHP Code:
 if ( PlayerDataid ][ SecondsPlayed ] >= VeteranInfo][ SecondsNeeded ] )
            {
                
vlLevel i;
                
remove_user_flagsid ADMIN_USER );
                
set_user_flagsid , ( get_user_flagsid ) | VeteranInfo][ VeteranBits ] ) );
                break;
            } 
Here is the actual plugin

PHP Code:
#include <amxmodx>
#include <nvault>

new const Version[] = "0.4";

const 
DaySeconds 86400;

enum VeteranLevels
{
    
Player,
    
Veteran,
    
Pro
}
enum VeteranLevelData
{
    
SecondsNeeded,
    
VeteranFlags26 ],
    
VeteranBits
}
new 
VeteranInfoVeteranLevels ][ VeteranLevelData ] = 
{
    { 
"" },
    { 
60 "l" },
    { 
120 "bklm" }
};

enum VeteranData
{
    
SteamID34 ],
    
bool:IsAdmin,
    
SecondsPlayed,
    
VeteranLevels:VeteranLevel
}
new 
PlayerDataMAX_PLAYERS ][ VeteranData ];

new 
g_Vault;

public 
plugin_init() 
{
    
register_plugin"Veterans" Version "bugsy" );

    
register_event"HLTV" "NewRound" "a" "1=0" "2=0" );
    
    
register_clcmd"say !veteran" "VeteranSay" );
    
register_clcmd"say_team !veteran" "VeteranSay" );
    
    
register_clcmd"say !pro" "ProSay" );
    
register_clcmd"say_team !pro" "ProSay" );

    
register_clcmd"say !skill" "SkillSay" );
    
register_clcmd"say_team !skill" "SkillSay" );
}

public 
plugin_cfg()
{
    
nvault_prune( ( g_Vault nvault_open"veteran_data" ) ) , get_systime() - ( DaySeconds ) );
    
    for ( new 
VeteranLevels:Veteran VeteranLevels i++ )
    {
        
VeteranInfo][ VeteranBits ] = read_flagsVeteranInfo][ VeteranFlags ] );
    }
}

public 
plugin_end()
{
    
nvault_closeg_Vault );
}

public 
client_authorizedid )
{
    new 
szData11 ] , iTS;
    
    if ( !( 
PlayerDataid ][ IsAdmin ] = bool:( !( get_user_flagsid ) & ADMIN_USER ) ) ) )
    { 
        
get_user_authidid PlayerDataid ][ SteamID ] , charsmaxPlayerData[][ SteamID ] ) );
        
        if ( 
nvault_lookupg_Vault PlayerDataid ][ SteamID ] , szData charsmaxszData ) , iTS ) )
        {
            
PlayerDataid ][ SecondsPlayed ] = str_to_numszData );
            
SetVeteranLevelid );
        }
    }
}

public 
client_disconnectedid )
{
    new 
szSeconds11 ];
    
    if ( !
PlayerDataid ][ IsAdmin ] )
    {
        
num_to_strPlayerDataid ][ SecondsPlayed ] + get_user_timeid ) , szSeconds charsmaxszSeconds ) )
        
nvault_setg_Vault PlayerDataid ][ SteamID ] , szSeconds );
        
        
PlayerDataid ][ SecondsPlayed ] = 0;
        
PlayerDataid ][ VeteranLevel ] = Player;
    }
}

public 
VeteranSayid )
{
    
show_motdid "veteran_motd.txt" );
}

public 
ProSayid )
{
    
show_motdid "pro_motd.txt" );
}

public 
SkillSayid )
{
    if ( 
PlayerDataid ][ IsAdmin ] )
    {
        
client_printid  print_chat "* You are an admin" );
    }
    else
    {
        if ( 
PlayerDataid  ][ VeteranLevel ] < Pro )
        {
            
set_dhudmessage235151780.380.0100.14.00.40.8 );
            
            switch ( 
PlayerDataid  ][ VeteranLevel ] )
            {
                case 
Player:
                {
                    
show_dhudmessageid  "To become veteran play %d minutes. Type !veteran" VeteranInfoVeteran ][ SecondsNeeded ] / 60 );
                }
                case 
Veteran:
                {
                    
show_dhudmessageid  "You are a Veteran. To become Pro play for %d minutes. Type !pro" VeteranInfoPro ][ SecondsNeeded ] / 60 );
                }
            }
        }
        else
        {
            
client_printid  print_chat "* You are a Pro player" );
        }
    }
}

public 
NewRound()
{
    new 
iPlayers32 ] , iNum iPlayer;
    
    
get_playersiPlayers iNum "ch" );
    
    for ( new 
iNum i++ )
    {
        
iPlayer iPlayers];
        
        if ( !
PlayerDataiPlayer ][ IsAdmin ] )
        {
            
SetVeteranLeveliPlayer );
            
SkillSayiPlayer );
        }
    }
}

SetVeteranLevelid )
{
    new 
VeteranLevels:vlLevel Player;
    
    if ( 
PlayerDataid ][ VeteranLevel ] < Pro )
    {
        for ( new 
VeteranLevels:Pro >= Veteran i-- )
        {
            if ( 
PlayerDataid ][ SecondsPlayed ] >= VeteranInfo][ SecondsNeeded ] )
            {
                
vlLevel i;
                
remove_user_flagsid ADMIN_USER );
                
set_user_flagsid , ( get_user_flagsid ) | VeteranInfo][ VeteranBits ] ) );
                break;
            }
        }
        
        
PlayerDataid ][ VeteranLevel ] = vlLevel;
    }


Last edited by DJBosma; 04-19-2020 at 15:23.
DJBosma is offline
DJBosma
Member
Join Date: Dec 2009
Old 04-20-2020 , 09:36   Re: Looking for a scripter to hire
Reply With Quote #4

Quote:
Originally Posted by DJBosma View Post
I will look into the second plugin.

This is the part adding flags, I assume remove_user_flags( id , ADMIN_USER ); has to be executed in order to add the flags properly instead of z + x

PHP Code:
 if ( PlayerDataid ][ SecondsPlayed ] >= VeteranInfo][ SecondsNeeded ] )
            {
                
vlLevel i;
                
remove_user_flagsid ADMIN_USER );
                
set_user_flagsid , ( get_user_flagsid ) | VeteranInfo][ VeteranBits ] ) );
                break;
            } 
PHP Code:
if ( PlayerDataid ][ SecondsPlayed ] >= VeteranInfo][ SecondsNeeded ] )
      if ( 
get_user_flags(id) == && !get_user_flags(id) == y)
            {
                
vlLevel i;
                
remove_user_flagsid ADMIN_USER );
                
set_user_flagsid , ( get_user_flagsid ) | VeteranInfo][ VeteranBits ] ) );
                break;
            }
      else if ( 
get_user_flags(id) == y
            {
           
HC_CONTINUE;
             } 
I’m not sure if this is going to work, I am searching for a way to check if user has a certain flag. I believe this will work with admins having only “y”

Last edited by DJBosma; 04-20-2020 at 09:37.
DJBosma is offline
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 14:06.


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