AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weapon´s Fordwards (https://forums.alliedmods.net/showthread.php?t=106642)

nicolazo103 10-17-2009 11:55

Weapon´s Fordwards
 
Hello everyone :D

I want to know if there are forwards like weapon drop, weapon fire, grenade explode, reloading a weapon, etc. I have searched in the Tutorials Section if there was a post showing them, but i didnñt find anything.

Exolent[jNr] 10-17-2009 14:53

Re: Weapon´s Fordwards
 
weapon drop
http://forums.alliedmods.net/showthread.php?t=49247

weapon fire
http://forums.alliedmods.net/showthread.php?t=54887

grenade explode
Code:
#include < amxmodx > #include < engine > public plugin_init( ) {     register_think( "grenade", "FwdGrenadeThink" ); } public FwdGrenadeThink( iEntity ) {     if( !is_valid_ent( iEntity ) ) {         return;     }         if( get_gametime( ) < entity_get_float( iEntity, EV_FL_dmgtime ) ) {         return;     }         // iEntity is exploding     // Note: This is called for C4, HE Grenades, Flashbangs, and Smoke Grenades }

reloading weapon
You can look in this plugin:
http://forums.alliedmods.net/showthread.php?t=82093


All times are GMT -4. The time now is 22:33.

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