Raised This Month: $ Target: $400
 0% 

Solved Help with stock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-27-2018 , 19:52   Help with stock
Reply With Quote #1

Hello moders, good night, I hope everyone is well. Could someone give me an example of how to create (if not exist) a function that returns a specific number of players per team. Below I have a small example.

PHP Code:
#include <amxmodx>
#include <cstrike>

enum uUserData
{    
    
bool:bSurrender
}

new 
UserData[MAX_PLAYERS 1][uUserData]

// The player performs the function
    
UserData[id][bSurrender] = true
}

//Now what I need is a function that returns me the players who are surrendering, by teams [CT and TR] 

Last edited by iceeedr; 06-27-2018 at 23:23.
iceeedr is offline
Send a message via Skype™ to iceeedr
 



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 12:38.


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