Raised This Month: $ Target: $400
 0% 

[SOLVED]Best way to randomly choose a random player from the enemy team?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Infractem
Member
Join Date: Dec 2016
Old 01-26-2017 , 10:07   Re: [Snippet request]Best way to randomly choose a random player from the enemy team?
Reply With Quote #6

Thanks guys, I'm gonna try this out.

EDIT: Working fine now, except compiler tells me that iPlayers

//this line
return iPlayers[random(iPnum)]

should return a value. How do I fix that?(Sorry extra noob scripter here)

Last edited by Infractem; 01-26-2017 at 10:36.
Infractem is offline
 



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:42.


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