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

Looking for Money Exchange with store & Knife Damage plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 06-11-2017 , 09:06   Looking for Money Exchange with store & Knife Damage plugins
Reply With Quote #1

Hi all. I am looking for the plugins with the following requirements/specifications to be developed privately. Please contact me on AM forums with a private message.. or add me on steam here (otherwise.. reply to this thread and i'll add you instead.)

More details on the plugin will be revealed if you decide to work on it.
Payment will be followed up upon completion of a working plugin (Paypal payment)
  1. Plugin that hooks my store plugin, and gives credits on round-end
  2. Plugin to exchange money to store credits
  3. Simple and usable commander plugin selection etc (Zombie escape).

Thank you.
__________________

Last edited by Bchewy; 07-02-2017 at 09:34.
Bchewy is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-11-2017 , 18:54   Re: [$] Looking for some plugins to be developed
Reply With Quote #2

Quote:
Originally Posted by Bchewy View Post
  1. Simple and usable commander plugin selection etc (Zombie escape).
https://forums.alliedmods.net/showthread.php?p=2368827

Probably someday I will finish it, but nobody seems to care currently.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 06-17-2017 , 03:16   Re: [$] Looking for some plugins to be developed
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
https://forums.alliedmods.net/showthread.php?p=2368827

Probably someday I will finish it, but nobody seems to care currently.
Great alternative. I am still looking for developers for the 2,3 and an extra plugin
https://pastebin.com/bxV64Vts
__________________
Bchewy is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 06-17-2017 , 12:28   Re: [$] Looking for some plugins to be developed
Reply With Quote #4

Quote:
Originally Posted by Bchewy View Post
Great alternative. I am still looking for developers for the 2,3 and an extra plugin
https://pastebin.com/bxV64Vts
not tested. but should work.
PHP Code:
// Includes
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>
#include <mystocks>

// Compiler Options
#pragma semicolon 1
#pragma newdecls required

// Console Variables
ConVar gc_bPlugin;
ConVar gc_fMultiply;
ConVar gc_iTeam;


public 
Plugin myinfo =
{
    
name "KnifeDMG",
    
author "shanapu",
    
description "Multiply knife dmg for a team",
    
version "1.0",
    
url "https://github.com/shanapu"
};

// Start
public void OnPluginStart()
{
    
// AutoExecConfig
    
gc_bPlugin CreateConVar("sm_knifedmg""1""0 - disabled, 1 - enable knife damage plugin"_true0.0true1.0);
    
gc_fMultiply CreateConVar("sm_knifedmg_multi""2""Knife damage multiplyer"_true0.1);
    
gc_iTeam CreateConVar("sm_knifedmg_team""1""Which team should get the extra dmg? 1 - CT only / 2- T only / 3 - both"_true1.0true3.0);
    
    
AutoExecConfig(true"KnifeDMG");
}

/******************************************************************************
                   EVENTS
******************************************************************************/


public Action OnTakedamage(int victimint &attackerint &inflictorfloat &damageint &damagetypeint &weaponfloat damageForce[3], float damagePosition[3], int damagecustom)
{
    if (!
gc_bPlugin.BoolValue)
        return 
Plugin_Continue;

    if (!
IsValidClient(victimtruefalse) || attacker == victim || !IsValidClient(attackertruefalse)) 
        return 
Plugin_Continue;

    
char sWeapon[32];
    if (
IsValidEntity(weapon)) GetEntityClassname(weaponsWeaponsizeof(sWeapon));

    if ((
GetClientTeam(attacker) == CS_TEAM_CT && gc_iTeam.IntValue == 1) || (GetClientTeam(attacker) == CS_TEAM_T && gc_iTeam.IntValue == 2) || gc_iTeam.IntValue == 3)
    {
        if ((
StrEqual(sWeapon"weapon_knife"false)))
        {
            
damage damage*gc_fMultiply.FloatValue;
            return 
Plugin_Changed;
        }
    }

    return 
Plugin_Continue;
}

/******************************************************************************
                   FORWARDS LISTEN
******************************************************************************/

public void OnClientPutInServer(int client)
{
    
SDKHook(clientSDKHook_OnTakeDamageOnTakedamage);

Attached Files
File Type: smx knifedmg.smx (5.4 KB, 164 views)
File Type: sp Get Plugin or Get Source (knifedmg.sp - 147 views - 3.1 KB)
__________________
coding & free software
shanapu is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 06-18-2017 , 05:05   Re: [$] Looking for some plugins to be developed
Reply With Quote #5

Quote:
Originally Posted by shanapu View Post
not tested. but should work.
PHP Code:
// Includes
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>
#include <mystocks>

// Compiler Options
#pragma semicolon 1
#pragma newdecls required

// Console Variables
ConVar gc_bPlugin;
ConVar gc_fMultiply;
ConVar gc_iTeam;


public 
Plugin myinfo =
{
    
name "KnifeDMG",
    
author "shanapu",
    
description "Multiply knife dmg for a team",
    
version "1.0",
    
url "https://github.com/shanapu"
};

// Start
public void OnPluginStart()
{
    
// AutoExecConfig
    
gc_bPlugin CreateConVar("sm_knifedmg""1""0 - disabled, 1 - enable knife damage plugin"_true0.0true1.0);
    
gc_fMultiply CreateConVar("sm_knifedmg_multi""2""Knife damage multiplyer"_true0.1);
    
gc_iTeam CreateConVar("sm_knifedmg_team""1""Which team should get the extra dmg? 1 - CT only / 2- T only / 3 - both"_true1.0true3.0);
    
    
AutoExecConfig(true"KnifeDMG");
}

/******************************************************************************
                   EVENTS
******************************************************************************/


public Action OnTakedamage(int victimint &attackerint &inflictorfloat &damageint &damagetypeint &weaponfloat damageForce[3], float damagePosition[3], int damagecustom)
{
    if (!
gc_bPlugin.BoolValue)
        return 
Plugin_Continue;

    if (!
IsValidClient(victimtruefalse) || attacker == victim || !IsValidClient(attackertruefalse)) 
        return 
Plugin_Continue;

    
char sWeapon[32];
    if (
IsValidEntity(weapon)) GetEntityClassname(weaponsWeaponsizeof(sWeapon));

    if ((
GetClientTeam(attacker) == CS_TEAM_CT && gc_iTeam.IntValue == 1) || (GetClientTeam(attacker) == CS_TEAM_T && gc_iTeam.IntValue == 2) || gc_iTeam.IntValue == 3)
    {
        if ((
StrEqual(sWeapon"weapon_knife"false)))
        {
            
damage damage*gc_fMultiply.FloatValue;
            return 
Plugin_Changed;
        }
    }

    return 
Plugin_Continue;
}

/******************************************************************************
                   FORWARDS LISTEN
******************************************************************************/

public void OnClientPutInServer(int client)
{
    
SDKHook(clientSDKHook_OnTakeDamageOnTakedamage);

+9999999, Thanks shana!

I am looking for three plugins to be developed.
https://pastebin.com/SEW0mVgL

AND

Quote:
Originally Posted by Bchewy View Post
  1. Plugin to exchange csgo money to store credits
  2. Simple and usable commander plugin selection etc (Zombie escape).
__________________
Bchewy is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 06-18-2017 , 14:11   Re: [$] Looking for some plugins to be developed
Reply With Quote #6

Quote:
Originally Posted by Bchewy View Post
  • Plugin to exchange money to store credits
bored at work.
no way to test it from here, but should work...

Use: sm_exchange [amount]

sm_exchange_rate - 1 game dollar are x store credits - default 0.5
sm_exchange_limit - how many credits can be get in exchange per map


PHP Code:
#include <sourcemod> 
#include <sdktools> 
#include <cstrike> 
#include <store> 

ConVar gc_fRate
ConVar gc_iMaxExchange
int g_iAmount[MAXPLAYERS+1] = 0;

public 
Plugin myinfo =  

    
name "Money Exchange"
    
author "shanapu"
    
description "exchange game money to store credits"
    
version "1.1"
    
url "https://github.com/shanapu/" 
}; 

public 
void OnPluginStart() 

    
RegConsoleCmd("sm_exchange"Command_Exchange
    
gc_fRate CreateConVar("sm_exchange_rate""0.5""1 game dollar are x store credits");
    
gc_iMaxExchange CreateConVar("sm_exchange_limit""5000""how many credits can be get in exchange per map"_true1.0); 


public 
Action Command_Exchange(int clientint args

    if (
client == 0
    { 
        
ReplyToCommand(client"%t""Command is in-game only"); 
        return 
Plugin_Handled
    } 

    if (
args 1
    { 
        
ReplyToCommand(client"Use: sm_exchange [amount]"); 
        return 
Plugin_Handled
    }

    
char arg[10]; 
    
GetCmdArg(1argsizeof(arg)); 
    
int amount StringToInt(arg); 
    
int money GetEntProp(clientProp_Send"m_iAccount"

    if (
amount money
    { 
        
ReplyToCommand(client"Not enough money"); 
        return 
Plugin_Handled
    }
    
    
float fAmount float(amount) * gc_fRate.FloatValue
    
int newamount RoundToZero(fAmount); 
    
    if(
g_iAmount[client] + newamount >= gc_iMaxExchange.IntValue)
    {
        
ReplyToCommand(client"Reached the exchange limit of %i credits. Try smaller value"gc_iMaxExchange.IntValue); 
        return 
Plugin_Handled
    }
     
    
SetEntProp(clientProp_Send"m_iAccount"money amount); 


    
g_iAmount[client] = g_iAmount[client] + newamount;
    
Store_SetClientCredits(clientStore_GetClientCredits(client)+newamount); 
     
    
PrintToChat(client"Exchange: you got %d store credits for %d dollar"newamountamount); 

    return 
Plugin_Handled

Attached Files
File Type: smx moneyexchage.smx (5.0 KB, 151 views)
File Type: sp Get Plugin or Get Source (moneyexchage.sp - 151 views - 2.0 KB)
__________________
coding & free software

Last edited by shanapu; 07-02-2017 at 09:14. Reason: new version 1.1
shanapu is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 06-19-2017 , 13:38   Re: [$] Looking for some plugins to be developed
Reply With Quote #7

i fixed the compile errors in the code above.
the warning
Code:
// moneyexchange.sp(6) : warning 203: symbol is never used: "g_cvarChatTag"
is harmless & comes from a bad store.inc
__________________
coding & free software
shanapu is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 06-19-2017 , 16:22   Re: [$] Looking for some plugins to be developed
Reply With Quote #8

If you need any help just give me a shout, I'm always up for spending an hour or two writing some code for you
__________________
B3none 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 13:43.


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