AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   weapon start change (https://forums.alliedmods.net/showthread.php?t=22249)

Mulan 12-22-2005 08:17

weapon start change
 
Hello.

I need a Plugin for AMXX 1.50 wich forbids all weapons (primary and secondary) so the player only have a knife. But also I want a custom model for the knife.
The plugin has to strip the player when he join the server on every map. Also after a kill the player shouldn't get a weapon.. only the "knife" (custom model knife) and also after a mapchange weapons have to forbidden. Just a custom model knife :)

Bruno 12-22-2005 09:55

For what mod or game is this because usually it contains a built in weapon restriction?

Mulan 12-22-2005 10:20

its a mod for 1.6...

The knife cant restrict by the weapon restriction plugin.
And the knife must replace with a other custom weaponmodel.

So the users have this one custom weapon and cant switch to other weapons.

Mulan 12-27-2005 19:51

no idea? :?

VEN 12-28-2005 02:25

You do not need new plugin. Just combine existing.
And i not see the reason why you need strip?
You can just use plugin which force switch to knife.

Mulan 12-28-2005 08:06

please read the first plugin.

The users dont use the knife but a custom weapon-model.
I should like change the knife to a custom Model. Only this model can use by the players and not others.

watch 12-28-2005 08:49

just download an existing knife plugin and add something like this to it?

Code:
        entity_set_string(id, EV_SZ_viewmodel, "models/v_customknife.mdl")     entity_set_string(id, EV_SZ_weaponmodel, "models/fm/p_customknife.mdl") public plugin_precache() {     precache_model("models/fm/v_customknife.mdl")     precache_model("models/fm/p_customknife.mdl") }


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

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