Raised This Month: $ Target: $400
 0% 

Random Events


Post New Thread Reply   
 
Thread Tools Display Modes
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-20-2007 , 22:47   Re: Random Events
Reply With Quote #11

I know he is banned, but come on man.. That is the most stupid thing I have ever heard on these forums.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 01-22-2007 , 10:18   Re: Random Events
Reply With Quote #12

Code:
		random_time = Float:floatround(random_float(time_min, time_max))
->
Code:
		random_time = random_float(time_min, time_max)
		//i don't know why you did that, note that you also do this multiple times
then again...
Code:
			how_many = float(floatround(how_many / players_max * player_count))
->
Code:
			how_many = how_many / players_max * player_count
There are many small mistakes like these. Please fix.

Also I recomend using get_players instead of your odd way of getting them.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
markbuje
New Member
Join Date: Jan 2007
Location: Denmark
Old 01-28-2007 , 04:59   Re: Random Events
Reply With Quote #13

thank you
markbuje is offline
Send a message via MSN to markbuje Send a message via Yahoo to markbuje
VEN
Veteran Member
Join Date: Jan 2005
Old 01-31-2007 , 04:44   Re: Random Events
Reply With Quote #14

I'm unapproving it for now. Let approver know if you want to move it back to "new plugins".
VEN 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:24.


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