AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY?] Unlimited Ammo For Bots! (https://forums.alliedmods.net/showthread.php?t=315996)

EfeDursun125 05-03-2019 11:15

[ANY?] Unlimited Ammo For Bots!
 
1 Attachment(s)
Hello, My English is Bad

Bots now using unlimited ammo hack! :)

Works Any Game!

Why bots need unlmited ammo?
FOR : Some game bots not collecting ammo or use too much weapon and take out ammo (like a tf2 heavy minigun)

Now plugin fixed (only works for bots)

Thanks Pilo & Franc1sco, for helping plugin

Pilo 05-03-2019 12:33

Re: [ANY] Unlimited Ammo For Bots!
 
PHP Code:


    
if(IsValidClient(client))
    {
        if(!
IsFakeClient(client))
        {
            if(
IsPlayerAlive(client))
            { 

You check if he is not a bot :o

EfeDursun125 05-03-2019 13:27

Re: [ANY] Unlimited Ammo For Bots!
 
Quote:

Originally Posted by Pilo (Post 2650012)
PHP Code:


    
if(IsValidClient(client))
    {
        if(!
IsFakeClient(client))
        {
            if(
IsPlayerAlive(client))
            { 

You check if he is not a bot :o

Oww sorry, :D thanks!!!

EfeDursun125 05-03-2019 13:31

Re: [ANY] Unlimited Ammo For Bots!
 
now fixed

Franc1sco 05-03-2019 15:49

Re: [ANY] Unlimited Ammo For Bots!
 
Quote:

Originally Posted by EfeDursun125 (Post 2649996)
Works Any Game!

Are you sure that this works on any game? like css and csgo? checking your code it seems only for TF2.

EfeDursun125 05-04-2019 05:27

Re: [ANY] Unlimited Ammo For Bots!
 
Quote:

Originally Posted by Franc1sco (Post 2650061)
Are you sure that this works on any game? like css and csgo? checking your code it seems only for TF2.

not only tf2,

EDIT : hmm, really works only tf2?

Pilo 05-04-2019 05:45

Re: [ANY?] Unlimited Ammo For Bots!
 
PHP Code:

 AcceptEntityInput(client"SetForcedTauntCam"); 

No taunts in CS:GO :D

EfeDursun125 05-04-2019 06:01

Re: [ANY?] Unlimited Ammo For Bots!
 
Quote:

Originally Posted by Pilo (Post 2650166)
PHP Code:

 AcceptEntityInput(client"SetForcedTauntCam"); 

No taunts in CS:GO :D

Code:

if (GetEngineVersion() == Engine_TF2)
{
        SetVariantInt(1);
        AcceptEntityInput(client, "SetForcedTauntCam");
}

taunt cam only tf2 :D (for bots see spies)

Franc1sco 05-04-2019 11:29

Re: [ANY?] Unlimited Ammo For Bots!
 
This
PHP Code:

stock GetAmmo(client)
{
    return 
FindSendPropInfo("CTFPlayer""m_iAmmo");


In CSS should be something like this:
PHP Code:

stock GetAmmo(client)
{
    return 
FindSendPropInfo("CCSPlayer""m_iAmmo");


In Insurgency should be CINSPlayer and etc..

You tested your plugin in others games or just in TF2?

EfeDursun125 05-04-2019 12:57

Re: [ANY?] Unlimited Ammo For Bots!
 
Quote:

Originally Posted by Franc1sco (Post 2650240)
This
PHP Code:

stock GetAmmo(client)
{
    return 
FindSendPropInfo("CTFPlayer""m_iAmmo");


In CSS should be something like this:
PHP Code:

stock GetAmmo(client)
{
    return 
FindSendPropInfo("CCSPlayer""m_iAmmo");


In Insurgency should be CINSPlayer and etc..

You tested your plugin in others games or just in TF2?

i test tf2 and after update test left 4 dead 2

EDIT : THANKS FOR HELPING!


All times are GMT -4. The time now is 03:43.

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