Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 5
1
2
3
>
Last
»
Showing results 1 to 25 of 107
Search took
0.03
seconds.
Search:
Posts Made By:
client21
Forum:
Scripting
12-04-2023, 16:49
Replies:
2
Normal function VS function inside a structure
Views:
667
Posted By
client21
Re: Normal function VS function inside a structure
Forgot about profiler. Looks like there's no difference.
Forum:
Scripting
12-04-2023, 14:37
Replies:
2
Normal function VS function inside a structure
Views:
667
Posted By
client21
Normal function VS function inside a structure
enum struct S
{
// variables..
void Fn1() {
// ..
}
void Fn2() {
// ..
Forum:
Scripting
10-16-2021, 16:10
Replies:
8
MarkNativeAsOptional - inconvenient moment.
Views:
3,335
Posted By
client21
Re: MarkNativeAsOptional - inconvenient moment.
Why are you lying?) If another plugin is loaded later or there is the necessary communication between them (for example, using events, or GetFeatureStatus->FeatureType_Native), then this will work....
Forum:
Scripting
10-16-2021, 11:57
Replies:
8
MarkNativeAsOptional - inconvenient moment.
Views:
3,335
Posted By
client21
Re: MarkNativeAsOptional - inconvenient moment.
This is done on purpose. Understood, thanks :3
Forum:
Scripting
10-15-2021, 20:33
Replies:
8
MarkNativeAsOptional - inconvenient moment.
Views:
3,335
Posted By
client21
Re: MarkNativeAsOptional - inconvenient moment.
Yes, you are all very kind, but for some reason you do not answer my main question. I've provided a specific example code and I'm wondering why __pl_z_SetNTVOptional->MarkNativeAsOptional doesn't...
Forum:
Scripting
10-15-2021, 13:24
Replies:
8
MarkNativeAsOptional - inconvenient moment.
Views:
3,335
Posted By
client21
Re: MarkNativeAsOptional - inconvenient moment.
Thanks, but I know that. This way is not suitable for me because:
Don't ask me why I need it, just accept the fact that I need it :)
In any case, I will find the optimal solution, but I...
Forum:
Scripting
10-14-2021, 11:48
Replies:
8
MarkNativeAsOptional - inconvenient moment.
Views:
3,335
Posted By
client21
MarkNativeAsOptional - inconvenient moment.
z.inc
#if defined _z_included
#endinput
#endif
#define _z_included
native int Test_z();
public SharedPlugin __pl_z =
Forum:
Scripting
03-14-2021, 15:14
Replies:
1
SQL_TQuery thread
Views:
609
Posted By
client21
SQL_TQuery thread
void v1() {
// code
}
void v2() {
SQL_TQuery(....callback
}
SQLTCallback callback
{
Forum:
Extensions
02-02-2021, 21:59
Replies:
3
uint (Operations with unsigned int)
Views:
2,003
Posted By
client21
Re: uint (Operations with unsigned int)
This is a comparison with the previous version FormatUTime v1.0.2 (uint.zip). Standart function FormatTime is faster, but I don't think that's a problem. I would be glad if someone could suggest a...
Forum:
Extensions
01-31-2021, 13:18
Replies:
3
uint (Operations with unsigned int)
Views:
2,003
Posted By
client21
uint (Operations with unsigned int)
uint v1.0.3
As soon as the value exceeds int limit (2147483647), SourcePawn starts to have problems, example:
int x = 2147483650 / 2; // Must be: 1073741825
PrintToServer("%%u = %u\n%%d = %d\n%u...
Forum:
Scripting
12-04-2020, 20:56
Replies:
6
Push Function to ArrayList..
Views:
1,755
Posted By
client21
Re: Push Function to ArrayList..
I don't think so.
void PackFunction(cell_t function);
cell_t = 4 bytes (max value = unsigned int)
int i = StringToInt("4294967295"); // max value = unsigned int
PrintToServer("%u", i);
----
...
Forum:
Scripting
12-04-2020, 11:04
Replies:
6
Push Function to ArrayList..
Views:
1,755
Posted By
client21
Re: Push Function to ArrayList..
Yes, this is also a way, but it still looks silly.
It feels like PushFunction method was planned, but forgotten.
At the moment, there is still such a way (it works) (by Kailo) :
int...
Forum:
Scripting
12-04-2020, 10:02
Replies:
6
Push Function to ArrayList..
Views:
1,755
Posted By
client21
Push Function to ArrayList..
public void OnPluginStart()
{
ArrayList a = new ArrayList();
Function f = GetFunctionByName(GetMyHandle(), "OnPluginStart");
// error 130: cannot coerce functions to values
a.Push(f);
...
Forum:
Coding MM:S Plugins & SM Extensions
01-11-2020, 17:48
Replies:
4
How i can get object pointer?
Views:
9,949
Posted By
client21
Re: How i can get object pointer?
Solution in core/sourcemod.cpp
But you must take into account that there are different methods for obtaining a pointer in old and new versions sm.
Forum:
Coding MM:S Plugins & SM Extensions
01-10-2020, 15:11
Replies:
4
How i can get object pointer?
Views:
9,949
Posted By
client21
How i can get object pointer?
sourcemod 1.6.3 (don't ask why).
How get pointer/object for class ISourcePawnEngine2
https://github.com/alliedmodders/sourcemod/blob/1.6-dev/public/sourcepawn/sp_vm_api.h#L1184
We can use this...
Forum:
Scripting
12-26-2019, 07:04
Replies:
0
Nested natives/forwards (limits)
Views:
649
Posted By
client21
Nested natives/forwards (limits)
1. Call native A
2. A calls native B
3. B calls forward (hook) C
3. C calls forward D
etc..
When can a problem arise?
Maybe just enough to ensure that this was not an infinite loop? Or...
Forum:
Scripting
12-18-2019, 18:08
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
Yes, i forgot about items_game.txt for csgo =) thx
But cs:s don't have this, maybe we can only decrypt .ctx files.
I think this is good news, given the fact that cs:s rarely updated.
Thanks.
Forum:
Scripting
12-18-2019, 13:58
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
rly? Now read again first post, namely paragraph 3.
Tomorrow there will be an update of csgo and a new weapon whose name you do not know, do you understand the logic?
Forum:
Scripting
12-18-2019, 13:53
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
I have already explained everything in great detail and not imagining how you cannot understand.
Try to read the first post again, he has been updated.
-nobots dude and you can't spawn/create bot...
Forum:
Scripting
12-18-2019, 11:52
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
cs:s, csgo
Forum:
Scripting
12-18-2019, 11:46
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
omg guys, rly?
You have only weapon classname (from sm_dump_classes) and your task is to find out the slot number without using client. Of course i know how get weapon slot number if i have client...
Forum:
Scripting
12-18-2019, 10:12
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
You not have "client".. Only classname. Need get slot number without "client" :|
Forum:
Scripting
12-17-2019, 23:18
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Re: Get weapon slot number by classname
server empty dude and no bots
Forum:
Scripting
12-17-2019, 22:05
Replies:
18
Get weapon slot number by classname
Views:
3,675
Posted By
client21
Get weapon slot number by classname
Task: get weapon slot number using only weapon classname with out client index.
Game: cs:s, csgo (or choose 1)
--
Updated:
csgo - we can use items_game.txt
cs:s - we can only decrypt .ctx...
Forum:
Scripting
05-11-2019, 11:10
Replies:
12
hook ReloadEffect csgo not work
Views:
2,476
Posted By
client21
Re: hook ReloadEffect csgo not work
Now even SDKHook_ReloadPost don't work (csgo).
Event just not called.
Showing results 1 to 25 of 107
Page 1 of 5
1
2
3
>
Last
»
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:59
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode