Raised This Month: $51 Target: $400
 12% 

[Req] Start Round Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yan1255
Senior Member
Join Date: Jul 2011
Old 04-09-2012 , 00:25   [Req] Start Round Weapon
Reply With Quote #1

hey, i wonder if anyone here can make me a mod
that in the next situations it will give him the weapons that i want:
Situations:
1. Just Respawned
2. New Round
3. Just Connected
4. Switch teams with someone
(baisiclly a jb start mode you know when a player is alive the weapons is gonna get are bla bla)

Weapons:
T's:
Knife
CT's:
M4a1 (120 Bullets)
Deagle (70 Bullets)
Smoke Grenade (4 Grenades)
Hand Grenade (1 Grenade)
__________________
yan1255 is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 04-09-2012 , 04:49   Re: [Req] Start Round Weapon
Reply With Quote #2

Quote:
Originally Posted by yan1255 View Post
hey, i wonder if anyone here can make me a mod
that in the next situations it will give him the weapons that i want:
Situations:
1. Just Respawned
2. New Round
3. Just Connected
4. Switch teams with someone
(baisiclly a jb start mode you know when a player is alive the weapons is gonna get are bla bla)

Weapons:
T's:
Knife
CT's:
M4a1 (120 Bullets)
Deagle (70 Bullets)
Smoke Grenade (4 Grenades)
Hand Grenade (1 Grenade)
Code:
#include <amxmodx> #include <hamsandwich> #include <cstrike> #include <fun> public plugin_init() {     RegisterHam( Ham_Spawn, "player", "PlayerSpawn", 1 ); } public PlayerSpawn( iPlayer ) {     if ( is_user_alive ( iPlayer ) )     {         switch ( get_user_team( iPlayer ) )         {             case 1:             {                 strip_user_weapons( iPlayer );                 give_item( iPlayer, "weapon_knife" );             }             case 2:             {                 strip_user_weapons( iPlayer );                 give_item( iPlayer, "weapon_knife" );                                 give_item( iPlayer, "weapon_m4a1" );                 cs_set_user_bpammo( iPlayer, CSW_M4A1, 120 );                 give_item( iPlayer, "weapon_deagle" );                 cs_set_user_bpammo( iPlayer, CSW_DEAGLE, 70 );                 give_item( iPlayer, "weapon_smokegrenade" );                 cs_set_user_bpammo( iPlayer, CSW_SMOKEGRENADE, 4 );                 give_item( iPlayer, "weapon_hegrenade" );             }         }     } }
MyPc is offline
yan1255
Senior Member
Join Date: Jul 2011
Old 04-09-2012 , 09:46   Re: [Req] Start Round Weapon
Reply With Quote #3

thank you! works perfectly
__________________
yan1255 is offline
Reply



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 18:19.


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