Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: HamletEagle
Forum: New Plugin Submissions 08-06-2022, 05:32
Replies: 828
Views: 167,794
Posted By HamletEagle
Re: OciXCrom's Rank System [XP|Levels|Ranks]

This is a load of crap. People put their time and effort into making games. They have a right to charge for their work. If you can not afford it, then do not buy it.
No steam is illegal and this...
Forum: Suggestions / Requests 08-04-2022, 11:51
Replies: 10
Views: 352
Posted By HamletEagle
Re: Simple, random chance of rain with skymap change

It can be done without a mapchange, but the client has to reconnect before seeing the new sky.
Forum: Scripting Help 07-31-2022, 04:10
Replies: 4
Views: 308
Posted By HamletEagle
Re: NPC movement bug

It should, show some code.
Forum: Scripting Help 07-29-2022, 15:59
Replies: 4
Views: 308
Posted By HamletEagle
Re: NPC movement bug

You have to call StudioFrameAdvance or use an entity base that already does it. Or use MOVETYPE_PUSHSTEP instead of STEP.
Forum: Scripting Help 07-28-2022, 14:13
Replies: 4
Views: 268
Posted By HamletEagle
Re: what does that mean

No, without automatons your code will be 99999999x times slower and will not run at all without an i9 12900k overclocked on liquid nitrogen.

(Not every single feature in a programming language is...
Forum: Scripting Help 07-27-2022, 02:07
Replies: 9
Views: 382
Posted By HamletEagle
Re: Save Entity Index with BitSum

Please don't do this in practice. There is absolutely no reason for it.
Forum: Scripting Help 07-22-2022, 07:05
Replies: 13
Views: 481
Posted By HamletEagle
Re: Is this execution correct?

1. fysiks is correct. sizeof is an operator and its result is known at compile time. The compilr replaces it with the actual value in the generated binary.
There is no runtime overhead.

Things...
Forum: New Plugin Submissions 07-21-2022, 14:21
Replies: 5
Views: 536
Posted By HamletEagle
Re: Mod Zombie UniQue [Biohazard] Cs 1.6

Please attach the files to this post. Do not upload the plugin to a 3rd party service.
Forum: Scripting Help 06-04-2022, 09:32
Replies: 11
Views: 439
Posted By HamletEagle
Re: Checking member file

This community does not support nonsteam.
Forum: Off-Topic 06-02-2022, 06:45
Replies: 38
Views: 3,434
Posted By HamletEagle
Re: AM logo

To play devil's advocate: this is an off-topic sub-forum for threads that do not fit in other sub-forums. However, you still have to be on-topic inside a thread here, just like everywhere else in...
Forum: Scripting Help 06-02-2022, 02:40
Replies: 2
Views: 210
Posted By HamletEagle
Re: What is the difference between those two functions?

I strongly suggest you start reading tutorials, for example this one: https://forums.alliedmods.net/showthread.php?t=94381

You'll learn a lot and be able to get your answers instantly, instead of...
Forum: Scripting Help 05-30-2022, 04:33
Replies: 24
Views: 567
Posted By HamletEagle
Re: Improving and optimizing this thing

Another way to get rid of the tag mismatch is to detag the enum, for example:

enum _:Knives
{
}

enum _:P90s
{
}
Forum: Scripting Help 05-27-2022, 09:28
Replies: 12
Views: 349
Posted By HamletEagle
Re: How to get unique id from array

You need to call this to do what you asked in your original post: get unique ids from an array.
Forum: Scripting Help 05-27-2022, 09:09
Replies: 12
Views: 349
Posted By HamletEagle
Re: How to get unique id from array

Okay, use this:

getUniqueElements(input, numElements, output, &numUnique)
{
new Trie:set = TrieCreate();
new strKey[12];

for(new i = 0; i < numElements; i++)
{
...
Forum: Scripting Help 05-27-2022, 05:39
Replies: 12
Views: 349
Posted By HamletEagle
Re: How to get unique id from array

If you always have the ids in sorted order like in your example, then the solution can be done more efficiently(one pass over 2 or O(n) vs O(n^2)) compared to ARUKARI's solution.

...
Forum: Scripting Help 05-26-2022, 14:54
Replies: 3
Views: 259
Posted By HamletEagle
Re: http://amxmodx.org/api/file/__functions Where's symlink?

As I explained, unlink is used to delete files. If we have a way to create a file(fopen etc) then we should also have a way to delete files. This is the purpose.
Forum: Scripting Help 05-25-2022, 12:42
Replies: 3
Views: 259
Posted By HamletEagle
Re: http://amxmodx.org/api/file/__functions Where's symlink?

A symlink is not a copy of a file. A symlink is just an entry inside the filesystem that points to the metadata(and indirectly to the data) of the original file. The purpose of a symlink is to be...
Forum: Scripting Help 05-23-2022, 13:46
Replies: 2
Views: 255
Posted By HamletEagle
Forum: Scripting Help 05-23-2022, 08:22
Replies: 7
Views: 433
Posted By HamletEagle
Re: Shield entitiy detection doesn't work while player is using it?

The shield is not an entity, just a model. If you need to detect shield touch you can likely use register_touch(custom entity, player) and check if the player currently has the shield deployed. ...
Forum: Unapproved/Old Plugins 05-21-2022, 17:08
Replies: 16
Views: 6,252
Posted By HamletEagle
Re: FPS Limiter With Kick System

It does not even compile.
Forum: Scripting Help 05-20-2022, 05:40
Replies: 24
Views: 856
Posted By HamletEagle
Re: Run time error 1

Please answer the question, post the file.
Forum: Scripting Help 05-18-2022, 10:45
Replies: 24
Views: 856
Posted By HamletEagle
Re: Run time error 1

What are you talking about?
Forum: Scripting Help 05-17-2022, 13:14
Replies: 24
Views: 856
Posted By HamletEagle
Re: Run time error 1

A typical index out of bounds error DOES NOT result in a segfault. The index is checked and the error is thrown before any faulty memory access will happen.
The error log you posted suggests one of...
Forum: Suggestions / Requests 05-15-2022, 15:08
Replies: 4
Views: 279
Posted By HamletEagle
Re: Boomer disguise as props

I have a feeling this is SourceMod related. This is the AMXX section.
Forum: Scripting Help 05-13-2022, 08:56
Replies: 2
Views: 233
Posted By HamletEagle
Re: Optimal use?

The question is not about optimality. Depending on what features you need in your plugin, you use one or the other.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 21:55.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode