Raised This Month: $ Target: $400
 0% 

Event only for a round? For infinite ammunition from a selection menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CsIosefin
Senior Member
Join Date: Aug 2009
Old 08-16-2012 , 17:20   Event only for a round? For infinite ammunition from a selection menu
Reply With Quote #1

Hello, I want to know if it can be an event only if it select the menu and let him do what I wrote about below:
Code:
if(get_user_weapon(id) == CSW_DEAGLE)
{
	if(cs_get_user_bpammo(id, CSW_DEAGLE) < 35)
	{
		cs_set_user_bpammo(id, CSW_DEAGLE, 35)
	}
}
It is possible? Or?
CsIosefin is offline
floatman
Senior Member
Join Date: Oct 2009
Location: nowhere.
Old 08-17-2012 , 04:48   Re: Event only for a round? For infinite ammunition from a selection menu
Reply With Quote #2

I don't understand what you're saying.
__________________

floatman is offline
SpaceRip
Junior Member
Join Date: Aug 2012
Old 08-17-2012 , 06:29   Re: Event only for a round? For infinite ammunition from a selection menu
Reply With Quote #3

why do you test it by yourself?
SpaceRip is offline
CsIosefin
Senior Member
Join Date: Aug 2009
Old 08-17-2012 , 08:11   Re: Event only for a round? For infinite ammunition from a selection menu
Reply With Quote #4

floatman, if fewer than 35 bullets to reload and get back 35. I want to be selected from a menu and keep only the current round.
CsIosefin is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 08-17-2012 , 12:18   Re: Event only for a round? For infinite ammunition from a selection menu
Reply With Quote #5

http://forums.alliedmods.net/showthr...ghlight=reload
and use a boolean for players who should have 35 bullets in deagle clip
jimaway 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 05:50.


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