Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Showing results 1 to 5 of 5
Search took
0.00
seconds.
Search:
Posts Made By:
MAGNAT2645
Forum:
Snippets and Tutorials
12-20-2020, 14:09
Replies:
11
[SP] ConfigMap: StringMap & SMCParser
Views:
17,169
Posted By
MAGNAT2645
Re: [SP] ConfigMap: StringMap & SMCParser
Sorry for long silence. I tested ConfigMap.GetBool, works perfect (last test: 0.000090 sec).
You should update include with this method. Also, fix typo in description:
int GetInt(const char[]...
Forum:
Snippets and Tutorials
09-28-2020, 07:09
Replies:
11
[SP] ConfigMap: StringMap & SMCParser
Views:
17,169
Posted By
MAGNAT2645
Re: [SP] ConfigMap: StringMap & SMCParser
That's just a stock which returns true (only if string treated as true) or false (in any other case), you don't have to use it. It was just an example of simple/advanced conversion.
Forum:
Snippets and Tutorials
09-27-2020, 02:34
Replies:
11
[SP] ConfigMap: StringMap & SMCParser
Views:
17,169
Posted By
MAGNAT2645
Re: [SP] ConfigMap: StringMap & SMCParser
I have this stock:
#define _BOOL(%1) view_as< bool >( %1 )
stock bool StringToBool(const char[] str, bool simple=true) {
if ( simple )
return _BOOL( StringToInt( str ) );
if ( strcmp(...
Forum:
Snippets and Tutorials
09-25-2020, 07:59
Replies:
11
[SP] ConfigMap: StringMap & SMCParser
Views:
17,169
Posted By
MAGNAT2645
Re: [SP] ConfigMap: StringMap & SMCParser
You can put __nullable__ into methodmap definition like
methodmap ConfigMap < StringMap __nullable__ {
and then you are able to use
ConfigMap hCfg = new ConfigMap();
EDIT: Nevermind, it...
Forum:
Snippets and Tutorials
11-21-2019, 10:13
Replies:
11
[SP] ConfigMap: StringMap & SMCParser
Views:
17,169
Posted By
MAGNAT2645
Re: [SP] ConfigMap: StringMap & SMCParser
Is there any way to include ConfigMap to Voice Changer (https://forums.alliedmods.net/showthread.php?t=281143)? I just don't want to use KeyValues loop every time NormalSoundHook is called.
Showing results 1 to 5 of 5
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
11:02
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode