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

All new Back weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Rhytham
Junior Member
Join Date: Dec 2020
Old 12-16-2020 , 00:19   All new Back weapon
Reply With Quote #1

Trash!!
Attached Files
File Type: sma Get Plugin or Get Source (backweapons.sma - 253 views - 6.0 KB)
File Type: zip backweapons.zip (906.8 KB, 127 views)

Last edited by Rhytham; 01-13-2021 at 22:01. Reason: update
Rhytham is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 12-16-2020 , 12:39   Re: All new back weapon
Reply With Quote #2

If you're releasing an existing plugin explain how is it different. I suggest to put a changelog.
__________________
gabuch2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-16-2020 , 15:41   Re: All new back weapon
Reply With Quote #3

He didn't. It's the same plugin with a different model. He asked me via PM where he should post, I told him to do it in the plugin's thread. Maybe we should try another language.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 12-16-2020, 22:32
Rhytham
This message has been deleted by Rhytham.
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 12-17-2020 , 02:05   Re: All new Back weapon
Reply With Quote #4

no its not good, you cant release a plugin that is already here, all you have is a different model, you should only post in the original topic of the original plugin
tarsisd2 is offline
Old 12-17-2020, 04:35
Rhytham
This message has been deleted by Rhytham.
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-17-2020 , 07:41   Re: All new Back weapon
Reply With Quote #5

An inactive author is much better than a fake author who can't support the plugin.
For the 15th time - post a new COMMENT in the plugin's THREAD.
The activity of the author has nothing to do with you being able to do that and even if he was still active, nobody guarantees that he will want to use your model.

In fact, I don't see how your model is even better. Am I not seeing clearly, or the new model puts the AK-47 in the pistol pocket?!
Or maybe you think that 10x filesize is better? Explain what's better here.
Having HD models is a downgrade when most people have default models, so this will make it look different than theirs.

And, wow! Did you actually change the plugin's author as well??

Code:
#define AUTHOR  "Rhytham"

I didn't know that downloading a model from the internet and replacing it makes you an AMXX scripter and gives your rights over another person's work.

I'm simply amazed by some people's lack of competence.
__________________

Last edited by OciXCrom; 12-17-2020 at 07:45.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 12-17-2020, 22:03
Rhytham
This message has been deleted by Rhytham.
Old 12-17-2020, 22:21
Rhytham
This message has been deleted by Rhytham.
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-18-2020 , 07:39   Re: All new Back weapon
Reply With Quote #6

Quote:
Originally Posted by Rhytham View Post
But I think that I have edited it like this
Code:
#define AUTHOR "hoboman313/cheap_suit" //model by Rhytham
I'm pretty sure that my Ctrl+C and Ctrl+V buttons, along with my eyes, worked just fine when I copied and pasted it from the file you attached.
__________________

Last edited by OciXCrom; 12-18-2020 at 07:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Natsheh
Veteran Member
Join Date: Sep 2012
Old 12-18-2020 , 10:21   Re: All new Back weapon
Reply With Quote #7

Rhytham
Junior Member
Join Date: Dec 2020
Location: INDIA
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Rhytham
Junior Member
Join Date: Dec 2020
Old 12-18-2020 , 22:23   Re: All new Back weapon
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
I'm pretty sure that my Ctrl+C and Ctrl+V buttons, along with my eyes, worked just fine when I copied and pasted it from the file you attached.
oh my naughty brain!!

Last edited by Rhytham; 12-19-2020 at 00:11.
Rhytham is offline
Old 12-18-2020, 22:36
Rhytham
This message has been deleted by Rhytham.
Old 01-09-2021, 22:53
Rhytham
This message has been deleted by Rhytham.
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-10-2021 , 08:39   Re: All new back weapon
Reply With Quote #9

Quote:
Originally Posted by Rhytham View Post
Now I have also modified the PLUGIN!
That's amazing! Let's see those differences!







Truly amazing.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-10-2021 , 09:26   Re: All new Back weapon
Reply With Quote #10

here you go, doesn't require a custom model

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <xs>

#define PLUGIN "Weapon Backpack"
#define VERSION "1.0"
#define AUTHOR "Natsheh"

#define BACKPACK_BONE 52

static Float:fBACKPACK_ORIGIN[3], ENT_PLAYER[33];

public 
plugin_precache() {
    new 
mdl_index precache_model("models/player/terror/terror.mdl");
    new 
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"));
    
    if(
ent 0)
    {
        
engfunc(EngFunc_SetModelent"models/player/terror/terror.mdl");
        
set_pev(entpev_modelindexmdl_index);
        
        new 
Float:null[3];
        
engfunc(EngFunc_GetBonePositionentBACKPACK_BONEfBACKPACK_ORIGINnull)
        
        
set_pev(entpev_flagsFL_KILLME);
        
dllfunc(DLLFunc_Thinkent);
    }
    else
    {
        
set_fail_state("Couldn't Create an entity");
    }
}


public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("DeathMsg""fw_deathmsg""a");
    
    
RegisterHam(Ham_Spawn"player""fw_player_spawn"1);
    
    for(new 
i=CSW_P228szClassname[32]; <= CSW_P90i++)
    {
        if((
get_weaponname(iszClassnamecharsmax(szClassname)) > 7) && ((1<<i) & (CSW_ALL_PISTOLS|CSW_ALL_GRENADES|(1<<CSW_KNIFE))))
        {
            
RegisterHam(Ham_Item_DeployszClassname"fw_weapon_deploy"true);
        }
        else if(
szClassname[0] != 0)
        {
            
RegisterHam(Ham_Item_DeployszClassname"fw_weapon_remove"true);
        }
    }
    
    
register_forward(FM_PlayerPreThink"fw_player_prethink");
}

public 
fw_player_prethink(id)
{
    if(
ENT_PLAYER[id] == 0) return;
    
    static 
entFloat:fOrigin[3], Float:fOrigin2[3], Float:fAngles[3];
    
ent ENT_PLAYER[id];
    
    
pev(idpev_originfOrigin);
    
pev(idpev_anglesfAngles);
    
    
fOrigin2[0] = fBACKPACK_ORIGIN[0] * floatcos(fAngles[1],degrees) - fBACKPACK_ORIGIN[1] * floatsin(fAngles[1],degrees);
    
fOrigin2[1] = fBACKPACK_ORIGIN[0] * floatsin(fAngles[1],degrees) + fBACKPACK_ORIGIN[1] * floatcos(fAngles[1],degrees);
    
fOrigin2[2] = fBACKPACK_ORIGIN[2];
    
xs_vec_add(fOriginfOrigin2fOrigin);
    
    
engfunc(EngFunc_SetOriginentfOrigin);
    
    
fAngles[0] = -90.0;
    
set_pev(entpev_anglesfAngles);
}

public 
fw_weapon_remove(iEnt)
{
    new 
id pev(iEntpev_owner), ent;
    
    if(
id && (ent=ENT_PLAYER[id]) > 0)
    {
        
engfunc(EngFunc_SetModelent"");
    }
}

public 
fw_weapon_deploy(iEnt)
{
    new 
id pev(iEntpev_owner), ent;
    
    if(
id && (ent=ENT_PLAYER[id]) > 0)
    {
        
engfunc(EngFunc_SetModelent"");
        
        new 
aWeapons[32], wpnum 0currwpn;
        
get_user_weapons(idaWeaponswpnum);
        
        
currwpn = (1<<get_ent_data(iEnt"CBasePlayerItem""m_iId")); // get used weapon...
        
        
for(new 0szString[64], szClassname[32]; wpnumi++)
        {
            if( ( (
1<<aWeapons[i]) & ( 0x7FFFFFFE & ~(currwpn|CSW_ALL_PISTOLS|CSW_ALL_GRENADES|(1<<CSW_KNIFE)) ) ) > 0)
            {
                if(
get_weaponname(aWeapons[i], szClassnamecharsmax(szClassname)) > 7) {
                    if(
aWeapons[i] == CSW_MP5NAVYszClassname[11] = 0;
                    
formatex(szStringcharsmax(szString), "models/w_%s.mdl"szClassname[7]);
                    
engfunc(EngFunc_SetModelentszString);
                    break;
                }
            }
        }
    }
}

public 
fw_player_spawn(id)
{
    if(!
is_user_alive(id) || ENT_PLAYER[id] > 0) return;
    
    new 
ent ENT_PLAYER[id] = engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"));
    
    if(
ent 0)
    {
        new 
Float:fOrigin[3];
        
pev(idpev_originfOrigin);
        
        
fOrigin[0] += fBACKPACK_ORIGIN[0];
        
fOrigin[1] += fBACKPACK_ORIGIN[1];
        
fOrigin[2] += fBACKPACK_ORIGIN[2];
        
        
engfunc(EngFunc_SetOriginentfOrigin);
        
        
set_pev(entpev_movetypeMOVETYPE_NONE);
        
set_pev(entpev_solidSOLID_NOT);
    }
}

public 
client_disconnect(vic)
{
    new 
ent;
    if(!
pev_valid((ent=ENT_PLAYER[vic]))) return;
    
    
set_pev(entpev_flagsFL_KILLME);
    
dllfunc(DLLFunc_Thinkent);
    
    
ENT_PLAYER[vic] = 0;
}

public 
fw_deathmsg()
{
    const 
DEATHMSG_VICTIM_ARGUMENT 2;
    
    new 
vic read_data(DEATHMSG_VICTIM_ARGUMENT);
    
    new 
ent;
    if(!
pev_valid((ent=ENT_PLAYER[vic]))) return;
    
    
set_pev(entpev_flagsFL_KILLME);
    
dllfunc(DLLFunc_Thinkent);
    
    
ENT_PLAYER[vic] = 0;

making something already been made is kind useless and waste of time, if you think of making something more unique would be alot better.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-18-2021 at 07:03. Reason: fixed mp5 crash.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Old 01-12-2021, 23:06
Rhytham
This message has been deleted by Rhytham. Reason: trashed!
Reply


Thread Tools
Display Modes

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:45.


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