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

l4d2 weapon can't pickup without _spawn character!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zonbarbar
Member
Join Date: Jul 2022
Old 04-10-2024 , 15:37   l4d2 weapon can't pickup without _spawn character!
Reply With Quote #1

i'm trying to spawn weapon entity without "_spawn", but the entity just keep static, can't touch it and can't pickup either

Last edited by zonbarbar; 04-10-2024 at 16:03.
zonbarbar is offline
zonbarbar
Member
Join Date: Jul 2022
Old 04-11-2024 , 13:30   Re: l4d2 weapon can't pickup without _spawn character!
Reply With Quote #2

weapon can be use with spawnflag 4. but it doesn't have any reserve ammo
zonbarbar is offline
zonbarbar
Member
Join Date: Jul 2022
Old 04-11-2024 , 13:31   Re: l4d2 weapon can't pickup without _spawn character!
Reply With Quote #3

need hook sdkuse and unhook after give ammo
zonbarbar is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-11-2024 , 16:28   Re: l4d2 weapon can't pickup without _spawn character!
Reply With Quote #4

Use the edit button instead of bumping.

You can look at my Weapon Spawner plugin to set ammo and example on how to spawn weapons/items.
__________________
Silvers is offline
zonbarbar
Member
Join Date: Jul 2022
Old 04-12-2024 , 13:23   Re: l4d2 weapon can't pickup without _spawn character!
Reply With Quote #5

ok thank you
zonbarbar 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:32.


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