View Single Post
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 06-10-2021 , 11:15   Re: get_players_ex vs get_players
Reply With Quote #5

Quote:
Originally Posted by Bugsy View Post
It does the same thing, so in that respect neither is better. _ex is easier to use as you do not need to dig up what each letter flag corresponds to each time you want to use it. It literally is the same besides the flags part.

PHP Code:
stock get_players_ex(players[MAX_PLAYERS] = {}, &numGetPlayersFlags:flags GetPlayers_None, const team[] = "")
{
    new 
strFlags[10];
    
get_flags(_:flagsstrFlagscharsmax(strFlags));
    
get_players(playersnumstrFlagsteam);

I was think ex is much faster like formatex/format
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline