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

Counter-Strike Impulse 101 [Version 1.1]


Post New Thread Reply   
 
Thread Tools Display Modes
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-22-2009 , 04:43   Re: Counter-Strike Impulse 101
Reply With Quote #11

PHP Code:
    give_full_weapons(id)
    
give_full_ammo(id)
    
give_full_items(id
I think this should be

-->

PHP Code:
    give_full_weapons(player)
    
give_full_ammo(player)
    
give_full_items(player
Also, like fysiks said:

PHP Code:
        if(!is_user_alive(id))
        return 
PLUGIN_HANDLED 
-->

PHP Code:
        if(!is_user_alive(player))
        return 
PLUGIN_HANDLED 
But doesn't mather, you have to remove that part, becouse you checked if the target is alive in this line:

PHP Code:
new player cmd_target(id,arg,7); 
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...

Last edited by Alucard^; 08-22-2009 at 04:52.
Alucard^ is offline
Send a message via Skype™ to Alucard^
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-22-2009 , 04:46   Re: Counter-Strike Impulse 101
Reply With Quote #12

Use cstrike natives to set ammo, this way you call less native, and the engine works less (no entity creation).
PHP Code:
give_full_ammo(id)
{
    
cs_set_user_bpammo(idCSW_P22852)        // ammo_357sig
    
cs_set_user_bpammo(idCSW_SCOUT90)        // ammo_762nato
    
cs_set_user_bpammo(idCSW_XM101432)        // ammo_buckshot
    
cs_set_user_bpammo(idCSW_MAC10100)        // ammo_45acp
    
cs_set_user_bpammo(idCSW_AUG90)        // ammo_556nato
    
cs_set_user_bpammo(idCSW_ELITE120)        // ammo_9mm
    
cs_set_user_bpammo(idCSW_FIVESEVEN100)    // ammo_57mm
    
cs_set_user_bpammo(idCSW_AWP30)        // ammo_338magnum
    
cs_set_user_bpammo(idCSW_M249200)        // ammo_556natobox
    
cs_set_user_bpammo(idCSW_DEAGLE35)        // ammo_50ae
}

give_full_items(id)
{
    
cs_set_user_armor(id100CS_ARMOR_VESTHELM)

    
give_item(id,"weapon_flashbang")
    
cs_set_user_bpammo(idCSW_FLASHBANG2)
    
give_item(id,"weapon_hegrenade")
    
give_item(id,"weapon_smokegrenade")

    
cs_set_user_defuse(id1)
    
cs_set_user_nvg(id1
    
give_item(id,"weapon_shield")

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-22-2009 at 04:48.
ConnorMcLeod is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-22-2009 , 04:58   Re: Counter-Strike Impulse 101
Reply With Quote #13

Will be better ;)

PHP Code:
if( cs_get_user_teamid ) == ) {
       
give_itemid"weapon_c4" );
       
cs_set_user_plant id1);
} else {
       
cs_set_user_defuseid);

__________________
xPaw is offline
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 08-22-2009 , 05:50   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #14

Fixed. thank all
ds811888 is offline
m4kasik0mka
Junior Member
Join Date: Aug 2009
Location: Ukraine, Lvov
Old 09-04-2009 , 11:55   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #15

Code:
[ru]
NOT_ENOUGH_MONEY = Vam nyzhno %d$ chto-by kyput' Impulse 101!
BOUGHT_IMPULSE = Vi kypili Impulse 101!
__________________
m4kasik0mka is offline
Old 09-05-2009, 22:09
01010101
This message has been deleted by Brad. Reason: unnecessary trolling
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-07-2009 , 13:15   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #16

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-07-2009 , 13:16   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #17

Wow

Quote:
[nl]
NOT_ENOUGH_MONEY = Je hebt $%d nodig om een Impuls 101 te kopen!
BOUGHT_IMPULSE = Je kocht een Impuls 101!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
jab
Member
Join Date: Aug 2007
Location: Czech republic
Old 09-12-2009 , 05:57   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #18

Czech (CZ) translation (Czech republic)

Code:
[cz]
NOT_ENOUGH_MONEY = Potrebujes $%d aby jsi si mohl koupit Impulse 101!
BOUGHT_IMPULSE = Koupil jsi si Impulse 101!
jab is offline
Send a message via ICQ to jab
Captor
New Member
Join Date: Nov 2009
Old 11-15-2009 , 10:30   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #19

Turkish translation
Code:
[tr]
NOT_ENOUGH_MONEY = Impulse 101 satin almak icin %d$ gerekli!
BOUGHT_IMPULSE = Impulse 101 satin aldiniz!

Last edited by Captor; 11-15-2009 at 10:33.
Captor is offline
xD_1991
Senior Member
Join Date: Jul 2008
Location: Turkey/Istanbul
Old 01-05-2010 , 04:08   Re: Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #20

nice
xD_1991 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 20:03.


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