Raised This Month: $44 Target: $400
 11% 

Destructible Cars plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay       
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-22-2018 , 15:54   Destructible Cars plugin
Reply With Quote #1

this plugin is coded to be used by other plugins using the native:
PHP Code:
#pragma reqlib "dcapi"
native damagecar(iddamage
the plugin can handle 100 car at once for every car 100 initial hp (both are changeable from the source)
tested in CStrike but may work for all mods.
you can use it with other ents but may cause errors.
Attached Files
File Type: zip sprites.zip (46.5 KB, 219 views)
File Type: sma Get Plugin or Get Source (carblow.sma - 801 views - 2.1 KB)

Last edited by man_s_our; 04-03-2018 at 05:32. Reason: plugin updated
man_s_our is offline
WhiteFang1319
Senior Member
Join Date: Jan 2017
Location: India
Old 03-22-2018 , 16:20   Re: Destructible Cars API
Reply With Quote #2

I might try this out because it seems interesting. You should add the sprite and model file which is in the code.

Last edited by WhiteFang1319; 03-22-2018 at 16:22.
WhiteFang1319 is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-22-2018 , 16:52   Re: Destructible Cars API
Reply With Quote #3

Quote:
Originally Posted by WhiteFang1319 View Post
I might try this out because it seems interesting. You should add the sprite and model file which is in the code.
the used sprite is the C4 one I think.
I don't remember I used a model inside it.
__________________
man_s_our is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-22-2018 , 16:58   Re: Destructible Cars API
Reply With Quote #4

I remembered that I tried using the null model but that failed and forgotten to remove that.
I fixed it
__________________
man_s_our is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-22-2018 , 17:57   Re: Destructible Cars API
Reply With Quote #5

You should consider using a native instead of callfuncs.
__________________

Last edited by HamletEagle; 03-22-2018 at 17:57.
HamletEagle is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-22-2018 , 18:01   Re: Destructible Cars API
Reply With Quote #6

I don't know about native exept the name.
what's the difference between them?
__________________
man_s_our is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-22-2018 , 18:57   Re: Destructible Cars API
Reply With Quote #7

That's... Not an API?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-22-2018 , 19:08   Re: Destructible Cars API
Reply With Quote #8

Quote:
Originally Posted by man_s_our View Post
I don't know about native exept the name.
what's the difference between them?
https://forums.alliedmods.net/showthread.php?t=41251
__________________
HamletEagle is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-22-2018 , 22:13   Re: Destructible Cars API
Reply With Quote #9

I edited the plugin.
__________________
man_s_our 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 16:22.


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