Raised This Month: $ Target: $400
 0% 

get_players team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thEsp
BANNED
Join Date: Aug 2017
Old 01-26-2020 , 06:05   Re: get_players team
Reply With Quote #1

Dude why do you even bother restoring a 10 years old thread? :O
Either way, if there are no players (!pnum) the function returns -1.
thEsp is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-26-2020 , 06:18   Re: get_players team
Reply With Quote #2

Quote:
Originally Posted by thEsp View Post
Dude why do you even bother restoring a 10 years old thread? :O
Either way, if there are no players (!pnum) the function returns -1.
Because he has a legitimate question about the topic.

pnum is the number of players. If pnum is 0(!pnum is the same as pnum == 0) then there are no players so a random player cannot be retrieved.
__________________

Last edited by HamletEagle; 01-26-2020 at 13:18.
HamletEagle is online now
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 14:56.


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