Raised This Month: $ Target: $400
 0% 

Spawning weapons with no ammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-19-2017 , 05:44   Re: Spawning weapons with no ammo
Reply With Quote #2

With 'at the feet of a player' you mean in the drop position ? And what naming are you talking about ?
Code:
#include < amxmodx > #include < cstrike > #include < fun > #include < hamsandwich > public plugin_init( ) {     register_plugin( "Toy Guns", "1.0", "DoNii" ) ;         RegisterHam( Ham_Spawn, "player", "fw_HamSpawnPost", 1 ) ; } public fw_HamSpawnPost( id ) {     if( is_user_alive( id ) ) {             give_item( id, "weapon_deagle" ) ;         cs_set_user_bpammo( id, CSW_DEAGLE, 0 ) ;         engclient_cmd( id, "drop weapon_deagle" ) ;     } }
__________________

Last edited by edon1337; 03-19-2017 at 14:46.
edon1337 is offline
 



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 17:48.


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