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

Solved array


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-02-2018 , 11:02   Re: array
Reply With Quote #21

Quote:
Originally Posted by OciXCrom View Post
You will get the same results with both.
Interesting.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 02-02-2018 , 14:30   Re: array
Reply With Quote #22

Quote:
Originally Posted by EFFx View Post
Interesting.
random(2) -> 0 and 1
random_num(0,2) -> 0, 1 and 2
__________________
My English is A0
E1_531G is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 02-02-2018 , 14:43   Re: array
Reply With Quote #23

Quote:
Originally Posted by KliPPy View Post
In the parameter description it says "Exclusive upper bound". It's clear how the function works.
It doesn't say exclusive :/
__________________
retired chump
DjSoftero is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-02-2018 , 14:47   Re: array
Reply With Quote #24

Quote:
Originally Posted by DjSoftero View Post
It doesn't say exclusive :/
http://amxmodx.org/api/core/random

Look again.
__________________
HamletEagle is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 02-02-2018 , 14:54   Re: array
Reply With Quote #25

Quote:
Originally Posted by HamletEagle View Post
nvm, I'm blind. Don't mind me
__________________
retired chump
DjSoftero 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 03:27.


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