Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 2 times, last edit by "Impact" (Dec 13th 2011, 8:12pm)
Administrator
Location: Hagen
Occupation: Mechatroniker (didaktische Systeme)
wcf.user.option.userOption53: Nein
PHP Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Profilertime: 0.000002 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000002 seconds
Profilertime: 0.000002 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000001 seconds
Profilertime: 0.000002 seconds
|
This post has been edited 7 times, last edit by "Impact" (Dec 13th 2011, 9:27pm)
PHP Source code |
|
1 |
restart_delay = GetConVarFloat(FindConVar("mp_round_restart_delay"));
|
PHP Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
public BotCheck()
{
new playersConnected = GetMaxClients();
for (new i = 1; i < playersConnected; i++)
{
if(IsClientInGame(i) && !IsFakeClient(i) && IsPlayerAlive(i))
{
return true;
}
}
return false;
}
|
This post has been edited 2 times, last edit by "Impact" (Dec 24th 2011, 12:26am)
PHP Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
new Float:restart_dely;
new Handle:h_DelayConVar;
public OnPluginStart()
{
h_DelayConVar = FindConVar("mp_round_restart_delay");
restart_delay = GetConVarFloat(h_DelayConVar);
HookConVarChange(h_DelayConVar, OnCvarChange);
}
public OnCvarChange(Handle:cvar, const String:oldVal[], const String:newVal[])
{
restart_delay = GetConVarFloat(h_DelayConVar);
}
|
PHP Source code |
|
1 |
IrgendNeFunktion(irgendeinwert, GetConVarFloat(h_DelayConVar));
|
PHP Source code |
|
1 |
new g_XyzVar[MAXPLAYERS+1];
|
This post has been edited 2 times, last edit by "Impact" (Dec 24th 2011, 5:03pm)