AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Drop Defuser Kit (https://forums.alliedmods.net/showthread.php?t=6047)

Freaky frank 10-15-2004 14:24

hey BigBaller,

When will be 0.20 official relased , it thakes forever :D

Because i dont like the nightly build thingy , after every update a plugin wont work then.

Love amxx :lol:

Kamikaze 12-10-2004 12:59

Can you make it so you drop the defuser when you die like on CZ.

DS 12-10-2004 15:33

Quote:

Originally Posted by Kamikaze
Can you make it so you drop the defuser when you die like on CZ.

If I'm not mistaken, you already do drop the defuser kit when you die in CS 1.6. That is why there is already the model and whatnot for it. The only thing I remember from CZ that definitely is different from 1.6 is that you drop grenades when you die. It's possible that's what you're thinking of. But the defuser gets dropped on death in both versions.

Kamikaze 12-11-2004 03:38

Oh yea, I was thinking about the grenades, my bad.

There's a plugin arleady released that does that by the way.

I do like your plugin, it's a cool idea being able to drop a defuser because I use it to buy teammates defusers if they don't have the money to buy one (teamwork :))

breaddawson 12-11-2004 04:19

i think someone made this plugin before,Kamikaze

maybe that's what u want

see this:

http://forums.alliedmods.net/showthread.php?t=7747

Kamikaze 12-11-2004 13:56

I know, I did say that didn't I? 8)

VEN 11-08-2005 09:46

Code:
register_event("ResetHUD", "defkit_cleanup", "b")
This is logically wrong to use this event for cleaning dropped defkit.
Because "defkit_cleanup" function would be called
1. On client connect
2. On client spawn
3. On appropriate client command (considered as exploit)
Also this isn't rationally to call this function N times where N - number of spawned clients for example.

My opinion: this function should be called only on round start.

DS 04-17-2006 17:45

After over a year, I have released a new version of this plugin (1.50). I rewrote a fair amount of the code, hence the sort of large version bump. The biggest change is the fact that it no longer relies on ResetHUD which fixes quite a few issues.

Casio 04-18-2006 21:22

Damaged Soul, can I ask how you found out the name of the defuser kit? i.e "item_thighpack". I have being trying to figure out how to get the name of items, weapons etc. but have been unsuccessful, can you or anyone else help me out please?

DS 04-19-2006 00:47

Quote:

Originally Posted by Casio
Damaged Soul, can I ask how you found out the name of the defuser kit? i.e "item_thighpack". I have being trying to figure out how to get the name of items, weapons etc. but have been unsuccessful, can you or anyone else help me out please?

Well, I think this is a question more suited to the Scripting Help board, but I just knew it because it sort of is common knowledge I thought.

But a good place to find entity names however is on the supported mods page of the Metamod web site. If you click on the links that say [ents] next to each mod name you'll get a list of entities/items for each mod. For example, the CS 1.6 entity list is here: http://metamod.org/dl/metamod/ents/cstrike. Then you could just experiment by creating those entities with the create_entity and DispatchSpawn natives and see which one is which if you don't already know.

And finally you could also try using the Entity Info plugin which lets you point at things and it will tell you the classname of the entity among other pieces of information.

Hope that helped you.


All times are GMT -4. The time now is 14:16.

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