Raised This Month: $ Target: $400
 0% 

Chnanging map when players not enough


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
matsi
Thinkosaur
Join Date: Sep 2006
Old 08-26-2012 , 15:46   Re: Chnanging map when players not enough
Reply With Quote #9

Quote:
Originally Posted by Torge View Post
That's just example, I didn't said that he must use it.
Taken from amxmodx.inc:
Code:
/* Sets indexes of players.
* Flags:
* "a" - don't collect dead players.
* "b" - don't collect alive players.
* "c" - skip bots.
* "d" - skip real players.
* "e" - match with team.
* "f" - match with part of name.
* "g" - ignore case sensitivity.
* "h" - skip HLTV.
* Example: Get all alive CTs: get_players(players,num,"ae","CT") */
native get_players(players[32], &num ,const flags[]="", const team[]="");
It has more info than your and he might learn something from it.

Quote:
Originally Posted by nikhilgupta345 View Post
What are you saying? That doesn't even make sense...
get_playersnum() is perfectly fine since he doesn't need the actual list of players.
This is also true didn't pay any attention to that. You might also want to check get_playersnum() in connect/disconnect forwards.
__________________

Accepting all kinds of requests via private message.

Last edited by matsi; 08-26-2012 at 15:51.
matsi 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 05:48.


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