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

New Dead body search plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 03-15-2021 , 10:53   New Dead body search plugin
Reply With Quote #1

Hello everyone!
https://forums.alliedmods.net/showthread.php?t=281480
We have this plugin already!
This plugin is fun, but can someone edit it to new syntax and edit the chance like:

5% - The dead player skin
10% - healhshot, tagrenade, melee weapons
15% - random weapons ( store in config file )
30% - Grenades
40% - random > drug, slap, burn ....

Thank a bunch !!!
__________________

Last edited by nguyenbaodanh; 03-15-2021 at 10:53.
nguyenbaodanh is offline
DiogoOnAir
Senior Member
Join Date: Jul 2018
Location: Portugal
Old 03-23-2021 , 13:09   Re: New Dead body search plugin
Reply With Quote #2

Do you have it done already?
__________________
I accept Private(Paid) plugins requests
If you like my job donate me Here
Feel free to add me on Steam
Feel free to add me on Discord DiogoOnAir | Config & Developer#7961
Check my website
If you want to buy any server, you can buy it from here!
Datacenters around the world!
DiogoOnAir is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 03-23-2021 , 21:07   Re: New Dead body search plugin
Reply With Quote #3

Quote:
Originally Posted by DiogoOnAir View Post
Do you have it done already?
nope, not yet
__________________
nguyenbaodanh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-30-2021 , 20:38   Re: New Dead body search plugin
Reply With Quote #4

nguyenbaodanh, try use this.
Plugin will create config .../cfg/sourcemod/dead_body_search.cfg with cvar sm_dbs_weapon for list of random weapons (without 'weapon_', comma to separate). Default value: "p90,bizon".

Random punishments: drug (5sec), slap (5hp), ignite (5sec), freeze (5sec) and beacon (5sec).

Need SM1.10 or newer for compile.
__________________

Last edited by Grey83; 04-01-2021 at 09:00.
Grey83 is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 03-31-2021 , 01:27   Re: New Dead body search plugin
Reply With Quote #5

Quote:
Originally Posted by Grey83 View Post
nguyenbaodanh, try use this.
Plugin will create config .../cfg/sourcemod/dead_body_search.cfg with cvar sm_dbs_weapon for list of random weapons (without 'weapon_', comma to separate). Default value: "p90,bizon".

Random punishments: drug (5sec), slap (5hp), ignite (5sec), freeze (5sec) and beacon (5sec).

Need SM1.10 or newer for compile.
wow? great news. Gonna try this soon after work
__________________
nguyenbaodanh is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 03-31-2021 , 23:39   Re: New Dead body search plugin
Reply With Quote #6

got some error while plugin load
1/2021 - 1047: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 04/01/2021 - 1047: [SM] Blaming: \disabled\pubgplugins\BodySearch.smx
L 04/01/2021 - 1047: [SM] Call stack trace:
L 04/01/2021 - 1047: [SM] [0] ArrayList.Clear
L 04/01/2021 - 1047: [SM] [1] Line 111, BodySearch 0.3.0.sp::CVarChanged_Weapon
L 04/01/2021 - 1047: [SM] [2] Line 94, BodySearch 0.3.0.sp::OnPluginStart

idk if this affect anything, I'll report when players are connecting

---------------
P/S : plugin not work, press E nothing happen
__________________

Last edited by nguyenbaodanh; 04-01-2021 at 00:03.
nguyenbaodanh is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 04-01-2021 , 01:49   Re: New Dead body search plugin
Reply With Quote #7

https://forums.alliedmods.net/showpo...8&postcount=17

I like to have all these current cvars. And add my options / your configs for the plugin.
Pls help
__________________
nguyenbaodanh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 04-01-2021 , 09:00   Re: New Dead body search plugin
Reply With Quote #8

nguyenbaodanh, try that.
sm_dbs_flag - The flag is necessary so that the corpses can be searched. Def.: no flags.
sm_dbs_team - A team whose corpses can be searched: 0 - none, 1 - both, 2 - T, 3 - CT. Def.: both
Fixed error Invalid Handle 0
Attached Files
File Type: sp Get Plugin or Get Source (BodySearch 0.3.1.sp - 46 views - 13.9 KB)
__________________
Grey83 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 13:46.


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