Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
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 112
Search took
0.01
seconds.
Search:
Posts Made By:
Leech_v2
Forum:
Scripting Help
12-09-2023, 17:39
Replies:
0
Change player hull size
Views:
271
Posted By
Leech_v2
Change player hull size
https://www.bilibili.com/video/BV1eQ4y1372G/Example (https://www.bilibili.com/video/BV1eQ4y1372G/?vd_source=64e04b7a53f81f9aece0fa50524775e0)
Why can the info_hullshape created with the valve...
Forum:
Scripting Help
12-06-2023, 12:37
Replies:
3
How to force players to squat down? Is there a better way?
Views:
861
Posted By
Leech_v2
Re: How to force players to squat down? Is there a better way?
As I said, I have tried the fakemeta versions of these methods.
That code cannot even make the player truly squat. It can only automatically squat when the player teleports to a narrow area, so as...
Forum:
Scripting Help
12-04-2023, 02:13
Replies:
3
How to force players to squat down? Is there a better way?
Views:
861
Posted By
Leech_v2
How to force players to squat down? Is there a better way?
I created this plugin, but players can still briefly stand up by sending a "-duck" on the console.
I tried EngFunc_SetSize pev_mins pev_maxs pev_size pev_flags pev_button pev_oldbuttons UC_Buttons...
Forum:
Scripting Help
11-15-2023, 23:43
Replies:
3
Solved
read coord data
Views:
416
Posted By
Leech_v2
Re: read coord data
What you mean is: read the coordinate parameter of the message_begin function in the callback function of the message hook. Is that right? Perhaps the read_data function can do it
Forum:
Scripting Help
11-14-2023, 22:18
Replies:
6
Solved
Need help to delete all items from an array
Views:
684
Posted By
Leech_v2
Re: Need help to delete all items from an array
Try not to use forward traversal to delete array elements as much as possible. After element 1 is deleted, element 2 will become element 1, and array size 3 will become 2. At this point, deleting...
Forum:
Scripting Help
11-13-2023, 01:50
Replies:
3
Solved
Help with (Invalid cellvector handle provided (1:1:1))
Views:
428
Posted By
Leech_v2
Re: Help with (Invalid cellvector handle provided (1:1:1))
It is not recommended to delete array elements during forward traversal.
If element 1 is deleted, element 2 will automatically become element 1. Array size will decrease by 1.
At this point,...
Forum:
Scripting Help
11-04-2023, 14:48
Replies:
2
Zombie Plague: How to make AmmoPack rewards float?
Views:
372
Posted By
Leech_v2
Re: Zombie Plague: How to make AmmoPack rewards float?
Add Float: tags to all functions, variables, constants, array, parameters, args related to it, and change all integer literals to floating-point literal literals.Replace all functions that return...
Forum:
Scripting Help
11-04-2023, 01:55
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
Can you see what 'char' did to the variable (non constant)? When I was testing, the calculation result of 'char' was different from ByteCountToCells and looked irregular.
new var = 255;...
Forum:
Scripting Help
11-03-2023, 13:36
Replies:
2
show_menu with loop for
Views:
374
Posted By
Leech_v2
Re: show_menu with loop for
Array elements can be used as string parameters. The meaning is to start filling in the content at the element position.At this point, The capacity of a string needs to be reduced by element index....
Forum:
Scripting Help
11-03-2023, 02:26
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
This code cannot be successfully compiled in the online compiler.
https://amx.icegame.ro/amxx/webcompiler.php
Anyway, since it has been confirmed that 'cell' must be equal to 'int32', I have...
Forum:
Scripting Help
11-03-2023, 01:37
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
like this :
#include amxmodx
public plugin_init()
{
register_plugin("test", "1.0.0", "Oinling");
new byteId, packedText[8 char] = !"ijklmno";
server_print("[AMXX]packedText.Size = %d",...
Forum:
Scripting Help
11-03-2023, 00:58
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
You can see the code in the compiler source code to prove that cell does not necessarily equal 4 bytes.
#if !defined PAWN_CELL_SIZE
#define PAWN_CELL_SIZE 32 /* by default, use 32-bit cells...
Forum:
Scripting Help
11-03-2023, 00:47
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
'char' is a keyword in amxmodx, Currently, it is only known that using char for lvalues can obtain the number of cells required for compressed strings.
In the source code of char, The calculation...
Forum:
Scripting Help
11-02-2023, 00:48
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
Re: What is the difference between 'ByteCountToCells' and' char '?
Is the sizeof (cell) on different platforms equal to the same value?
case tCHAR: /* char (compute required # of cells */
if (lval->ident==iCONSTEXPR) {
...
Forum:
Scripting Help
11-01-2023, 23:36
Replies:
13
Solved
What is the difference between 'ByteCountToCells' and 'char'?
Views:
888
Posted By
Leech_v2
What is the difference between 'ByteCountToCells' and 'char'?
What is the difference between the 'ByteCountToCells' function and the 'char' reserved word?
Will there be different calculation results on different platforms?
new gNormalArray[32 char];
new...
Forum:
Scripting Help
10-09-2023, 04:56
Replies:
11
How to distinguish public variables with the same name?
Views:
1,089
Posted By
Leech_v2
Re: How to distinguish public variables with the same name?
:wink:Hey boss, is amx still updating?
Forum:
Scripting Help
10-08-2023, 03:46
Replies:
11
How to distinguish public variables with the same name?
Views:
1,089
Posted By
Leech_v2
Re: How to distinguish public variables with the same name?
In fact, xvar only accesses public variables in the first plugin, while all public variables in subsequent plugins maintain their default values
The conclusion is that they cannot access the...
Forum:
Scripting Help
10-08-2023, 03:08
Replies:
15
What is the difference in the way these variables are declared?
Views:
1,328
Posted By
Leech_v2
Re: What is the difference in the way these variables are declared?
Are you a robot:cry:? This is not helpful.I'm not asking about the meaning of 'public', 'stock', and 'static'. I'm asking about the additional features of 'new' combined with them
Forum:
Scripting Help
10-07-2023, 15:26
Replies:
13
Block Round End
Views:
6,246
Posted By
Leech_v2
Re: Block Round End
In version amxmodx 190, this can prevent the end of the round
#include <amxmodx>
#include <fakemeta>
enum WinStatus
{
WS_CT = 1,
WS_TERRORIST,
WS_DRAW
};
Forum:
Scripting Help
10-07-2023, 04:03
Replies:
15
What is the difference in the way these variables are declared?
Views:
1,328
Posted By
Leech_v2
Re: What is the difference in the way these variables are declared?
Because in actual testing, 'new' can be combined with 'public', 'static', and 'stock'.
That's why I have questions
Forum:
Scripting Help
10-07-2023, 04:00
Replies:
11
How to distinguish public variables with the same name?
Views:
1,089
Posted By
Leech_v2
Re: How to distinguish public variables with the same name?
In actual testing, 'set_xvar_num' only changes the public variables of the first plugin.
Moreover, plugins cannot know in advance whether there are public variables with the same name (runtime...
Forum:
Scripting Help
10-07-2023, 01:16
Replies:
15
What is the difference in the way these variables are declared?
Views:
1,328
Posted By
Leech_v2
Re: What is the difference in the way these variables are declared?
? The file you sent did not explain my problem.
What I want to know is the purpose of using 'new' in combination with other specifier.
As far as I know, the feature of 'new' is that it allows...
Forum:
Scripting Help
10-07-2023, 00:59
Replies:
11
How to distinguish public variables with the same name?
Views:
1,089
Posted By
Leech_v2
Re: How to distinguish public variables with the same name?
I know, but they cannot distinguish between public variables with the same name in different plugins
Forum:
Scripting Help
10-06-2023, 16:10
Replies:
15
What is the difference in the way these variables are declared?
Views:
1,328
Posted By
Leech_v2
What is the difference in the way these variables are declared?
What is the difference between adding 'new' and removing 'new'?
What I want to know is the purpose of using 'new' in combination with other specifier.
As far as I know, the feature of 'new' is...
Forum:
Scripting Help
10-06-2023, 15:55
Replies:
11
How to distinguish public variables with the same name?
Views:
1,089
Posted By
Leech_v2
How to distinguish public variables with the same name?
Multiple plugins have declared public variables with the same name.
How to distinguish them? How to change a public variable in a specified plugin?
Or how can each plugin declare a public...
Showing results 1 to 25 of 112
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
18:12
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode