Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $32
Target: $400
8%
Showing results 1 to 7 of 7
Search took
0.01
seconds.
Search:
Posts Made By:
thisisinfuriating
Forum:
Scripting Help
08-19-2018, 13:45
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
new Players[32], NumT, NumCT;
get_players(Players, NumT, "eh", "TERRORIST");
get_players(Players, NumCT, "eh", "CT");
if((NumT + NumCT) < 6)
return 0;
Would adding this at...
Forum:
Scripting Help
08-19-2018, 13:34
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
Well, wouldn't that stop it from counting stats if there's less than 6 players, and re-enable it when more or equal to 6 players join?
Forum:
Scripting Help
08-19-2018, 13:06
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
new id;
new iUserAchs = GetUnlocksCount( id );
new Players[32],iPlayersNum;
get_players(Players,iPlayersNum,"ch");
if(iPlayersNum <= 6)
{
if(!iUserAchs)
{
Forum:
Scripting Help
08-19-2018, 09:39
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
Oh, I'm so dumb, sorry :roll:
Here's the plugin I'm using
public client_disconnect( id ) {
g_bLoaded[ id ] = false;
g_iPlayTime[ id ] = 0;
g_iKillers[ id ] = 0;
g_flHealth[ id ] = 0.0;...
Forum:
Scripting Help
08-19-2018, 09:04
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
1) I'm trying to check how many players are in the server to enable stats if the players <= 6
2) Well, that's the problem, I don't have it :oops:
Forum:
Scripting Help
08-19-2018, 08:53
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
Re: get_playersnum() help
So should it look like this?
get_players(players,num,"ch","")
new Players = get_playersnum()
if( get_playersnum( ) <= 6 ) {
return;
Forum:
Scripting Help
08-19-2018, 08:39
Replies:
15
get_playersnum() help
Views:
2,350
Posted By
thisisinfuriating
get_playersnum() help
I'm aware of the use of get_playersnum(), but I'm a somewhat a beginner in the world of AMXX
I have a plugin that counts stats(kills/deaths,etc..) and I want to disable it if players are less than...
Showing results 1 to 7 of 7
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
03:34
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode