Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
Please add getting count of all players, and GetRandomPlayer(Count, team), if team 3, then script will choose player from all teams without spectators.
|
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
GetRandomPlayer(count, team) what does count mean?
And instead of a team index I suggest to handle it as an bitflag var and use an enum to specify the teams etc. Team_Unassigned = 0, Team_Spectator = 1, Team_One = 2, Team_Two = 4, ... Team_Dead, Team_Alive, Team_All, |
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
Count of getting players...
Nice idea. Team_All, super. Please, add this function. And if you can... Function of brightness map. (light controller) SetMapBrightness(Count of brigntness); Also force round end. ForceRoundEnd(Float: Delay); |
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
03/15/2011 - 20:33:19: [SM] Native "GetEntPropEnt" reported: Property "m_hActiveWeapon" not found (entity 111/entityflame)
03/15/2011 - 20:33:19: [SM] Displaying call stack trace for plugin "zinfection.smx": 03/15/2011 - 20:33:19: [SM][0] Line 929, E:\scripting\include\smlib/clients.inc::Client_GetActiveWeapon() 03/15/2011 - 20:33:19: [SM][1] Line 948, E:\scripting\include\smlib/clients.inc::Client_GetActiveWeaponName() if (IsValidEntity(attacker) && attacker > MaxClients) { Client_GetActiveWeaponName(attacker, ActivePlayerWeapon, 64); wtf?! |
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
attacker > MaxClients wtf!?
Please check if you really want the weapon of a non player entity... Probably attacker is your client entity index so Client_IsValid(attacker) would be better. |
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
it should probably be attacker <= MaxClients
|
Re: SMLIB 0.9 BETA (266 Function Stocks)
Quote:
|
Re: SMLIB 0.9 BETA (266 Function Stocks)
Quote:
Quote:
|
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
is there any chance to set "black"/custom color?
|
Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
Quote:
|
| All times are GMT -4. The time now is 21:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.