Raised This Month: $23 Target: $400
 5% 

Module: Counter-Strike Weapon Mod [1.7.1]


Post New Thread Reply   
 
Thread Tools Display Modes
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 12-26-2018 , 04:54   Re: Module: Counter-Strike Weapon Mod [1.7]
Reply With Quote #41

Quote:
Originally Posted by quLeryuzz View Post
Can you add native like GiveWeaponByName? It will not be sending drop command to player. Because I wrote somethings and I approached.
Code:
public plugin_precache()
{
    BuildWeaponModels(Weapon, VMODELI, PMODELI, WMODELI);
}
public plugin_init()
{
    register_forward(FM_Touch,"FM_Touch_hook")
    register_clcmd("drop","dropped")
}
public dropped(id)
{
    justdropped[id]=true
    set_task(0.5,"notdropped",id)
}
public notdropped(id) justdropped[id]=false

public FM_Touch_hook(weaponbox,id)
{
    if(id && is_user_alive(id) && !is_user_bot(id) && pev_valid(weaponbox) && !justdropped[id])
    {
        static classname[64]
        pev(weaponbox,pev_classname,classname,63)
        if(equali(classname,"weaponbox"))
        {
            pev(weaponbox,pev_model,classname,63)
            if(equali(classname,WMODELI))
            {
                client_print_color(id, id, "dogru/true")
                justdropped[id]=true
                set_task(0.5,"notdropped",id)
                GiveWeaponByName(id,"laserm")
                if(pev_valid(weaponbox)) engfunc(EngFunc_RemoveEntity,weaponbox)
            }
        }
    }
}
give_item doesn't send drop command. But your GiveWeaponByName native send drop command.
Does this have anything to do with it? https://github.com/CodeGhosty/CSWM/b.../CSWM.cpp#L989

---
And I think you can add SlotID to weapons. Because u added hud to weapons.

I'm waiting next version. A very successful module.
If i wont drop weapon then it will replace current one of its type.
Yes SlotID is possible but why should i when you can only hand 1 weapon at time.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 12-26-2018 at 04:55.
Ghosted is offline
ifx
Senior Member
Join Date: Apr 2008
Old 04-28-2019 , 06:34   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #42

hello! i dont understand how to add new weapon plugins?
in 1st topic plugin examples didnt compile (amxmodx 5241)

also i see in 1.7 version - Weapons Can Be Created Without Plugins
but how? can u post example code?

Last edited by ifx; 04-28-2019 at 06:47.
ifx is offline
Luix
Senior Member
Join Date: Dec 2009
Location: Venezuela
Old 05-21-2019 , 09:37   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #43

I bumped an issue in the github repository. Hope you can check it.
__________________

Last edited by Luix; 05-22-2019 at 08:50.
Luix is offline
ifx
Senior Member
Join Date: Apr 2008
Old 05-21-2019 , 13:05   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #44

Quote:
Originally Posted by Luix View Post
I opened an issue in the github repository. Hope you can check it.
where? give me pls link on it
ifx is offline
Old 05-22-2019, 08:40
Luix
This message has been deleted by Luix.
Old 02-05-2020, 10:38
liubili
This message has been deleted by liubili.
God Of Gaming
Junior Member
Join Date: Feb 2013
Location: Bulgaria
Old 05-25-2020 , 14:58   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #45

So, how's it going, I was pretty excited about this project, but the last 1.7.1 version seems to be broken (enabling cswm module in modules.ini causes my server to crash shortly after starting) and there has been no updates in quite a while now. Is this dead?
__________________
God Of Gaming is offline
Send a message via Skype™ to God Of Gaming
lucianomc22
New Member
Join Date: Nov 2020
Old 11-24-2020 , 15:28   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #46

Can you give an example of a weapon made through file?
lucianomc22 is offline
U3_BlackBird
New Member
Join Date: Jul 2022
Old 07-24-2022 , 04:43   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #47

Is there a way to insert the weapons into the shop? If yes, Please state how. Thank you.
U3_BlackBird is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 01-04-2023 , 19:31   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #48

The following bugs exist in this module.
  • Burst fire in secondary mode does not work.
  • The specified shot animation does not play.
  • Shotgun reload stops halfway through.
  • The shotgun idle animation starts infinitely.
  • Reloading(and deploying) while zooming reverses the secondary mode.

The author is inactive.
Forked and fixed in my Github repository.
https://github.com/AoiKagase/CSWM
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 01-04-2023 at 21:26.
+ARUKARI- is offline
12sm
New Member
Join Date: Jan 2023
Old 01-29-2023 , 07:19   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #49

Quote:
Originally Posted by +ARUKARI- View Post
The following bugs exist in this module.
  • Burst fire in secondary mode does not work.
  • The specified shot animation does not play.
  • Shotgun reload stops halfway through.
  • The shotgun idle animation starts infinitely.
  • Reloading(and deploying) while zooming reverses the secondary mode.

The author is inactive.
Forked and fixed in my Github repository.
https://github.com/AoiKagase/CSWM

hi sorry im new i just want to ask how do i put your version in the game? itss kinda confusing and different than the original version , also do you have any other reccomendation for mod like this i want to add much new gun to the game with a menu thanks
12sm is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 01-30-2023 , 10:17   Re: Module: Counter-Strike Weapon Mod [1.7.1]
Reply With Quote #50

Quote:
Originally Posted by 12sm View Post
hi sorry im new i just want to ask how do i put your version in the game? itss kinda confusing and different than the original version , also do you have any other reccomendation for mod like this i want to add much new gun to the game with a menu thanks
https://github.com/AoiKagase/CSWM/releases/tag/1.7.2
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
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 22:52.


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