Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: +ARUKARI-
Forum: Suggestions / Requests 11-27-2022, 04:16
Replies: 4
Views: 210
Posted By +ARUKARI-
Re: C4 Explode Chance without Defuse Kit

// Convert dfmis_odds to a percent
new percent = CHANCE / min(risk, CHANCE) * NO_KIT_TIME
// Get a random number between 1 and dfmis_odds
@@new mistake = random_num(1, percent)

Although setting...
Forum: Approved Plugins 11-22-2022, 05:05
Replies: 691
Views: 577,036
Posted By +ARUKARI-
Re: Laser/TripMine Entity

Only ZP 5.0 is assumed.
If you wish to use it with 4.3, we recommend that you turn off ZP support and use the wrapper plugin that uses Native functions.
(I'm reluctant to provide support for ZP,...
Forum: Scripting Help 09-29-2022, 03:49
Replies: 2
Views: 405
Posted By +ARUKARI-
Re: ZP50 Lasermine (Line) Issue

Older Lasermines are not supported.
(SandStriker is me.)
https://forums.alliedmods.net/showthread.php?t=25819
Forum: Module Coding 08-24-2022, 11:28
Replies: 23
Views: 7,071
Posted By +ARUKARI-
Re: Module: Custom Entity Data

Check installed libstdc++.so

[root ~]# ls -l /usr/lib/libstdc++*
lrwxrwxrwx. 1 root root 23 12月 14 2020 /usr/lib/libstdc++.so -> /usr/lib/libstdc++.so.6
@@lrwxrwxrwx. 1 root root 19 ...
Forum: Module Coding 08-23-2022, 21:11
Replies: 23
Views: 7,071
Posted By +ARUKARI-
Re: Module: Custom Entity Data

If you don't get warning messages and it doesn't crash, you can use the official version.

1. it's a false positive, but I'll check again.
2. it is an environment-dependent problem because I am...
Forum: New Plugin Submissions 08-18-2022, 21:45
Replies: 46
Views: 16,413
Posted By +ARUKARI-
Re: AGM + AimGlow v2.0.2 [24/04/2020]

In the Biohazard mod (not sure about ZP), when the player model is changed, it is overlaid on the normal player model as an entity.
In other words, the player ID and the ID of the actual visible...
Forum: Scripting Help 07-24-2022, 23:47
Replies: 40
Views: 1,054
Posted By +ARUKARI-
Re: Need Code For CFG FILE

Returned before fclose.
Forum: Scripting Help 07-20-2022, 06:21
Replies: 16
Views: 658
Posted By +ARUKARI-
Forum: Scripting Help 07-15-2022, 03:20
Replies: 4
Views: 384
Posted By +ARUKARI-
Re: Limit lasermine buy

https://forums.alliedmods.net/showthread.php?t=25819
Forum: Scripting Help 07-07-2022, 21:09
Replies: 8
Views: 464
Posted By +ARUKARI-
Re: Spawned a NULL entity

My plugin provides a Native function, which allows Lasermine to be used from other plugins.
So there is no need to write complicated code such as entity creation.
Forum: Scripting Help 07-06-2022, 23:28
Replies: 8
Views: 464
Posted By +ARUKARI-
Re: Spawned a NULL entity

Why not use a plugin that already exists?
Forum: Scripting Help 06-08-2022, 20:43
Replies: 2
Views: 240
Posted By +ARUKARI-
Re: Lasermine

It is just a Warning and can be ignored, but I would recommend using the latest Lasermine.
Forum: Off-Topic 06-01-2022, 02:49
Replies: 13
Views: 3,186
Posted By +ARUKARI-
Re: What are your favorite anime movies?

I'm very happy that Japanese animation is so popular overseas.
Forum: Scripting Help 05-29-2022, 01:04
Replies: 7
Views: 454
Posted By +ARUKARI-
Re: Fix Colored Smoke?

It will not disappear until the duration set by TE_FIREFIELD ends.
If you want it to disappear at will, the only way is to modify it by creating an entity to represent it.
Forum: Scripting Help 05-27-2022, 08:44
Replies: 12
Views: 439
Posted By +ARUKARI-
Re: How to get unique id from array

I don't know how jackpotSkin is structured.
I think the size is different.


size = array_unique(jackpotSkin[JACKPOT_OWNER], sizeof(jackpotSkin[JACKPOT_OWNER]));


Also, HamletEagle's method...
Forum: Scripting Help 05-27-2022, 05:45
Replies: 12
Views: 439
Posted By +ARUKARI-
Re: How to get unique id from array

Non tested.

stock array_unique(array[], size)
{
for (new i = 0; i < size - 1; ++i) {
for (new j = i + 1; j < size; ++j) {
if (array[i] == array[j]) {
...
Forum: Suggestions / Requests 05-11-2022, 12:59
Replies: 38
Views: 1,685
Posted By +ARUKARI-
Forum: Module Coding 04-25-2022, 05:20
Replies: 17
Views: 8,028
Posted By +ARUKARI-
Re: Module: Parser (JSON Reader) Win32

The JSON module included in 1.9 or later should be able to do so.

native JSON:json_parse(const string[], bool:is_file = false, bool:with_comments = false)
/**
* Parses JSON string or a file that...
Forum: Suggestions / Requests 04-19-2022, 21:55
Replies: 10
Views: 510
Posted By +ARUKARI-
Re: Request Fix a compile Error

So zombie_escape instead of zombieplague!
Delete all includes and replace with this.

#include <amxmodx>
#include <zombie_escape>

#if !defined MAX_NAME_LENGTH
#define MAX_NAME_LENGTH 32...
Forum: Suggestions / Requests 04-19-2022, 07:18
Replies: 10
Views: 510
Posted By +ARUKARI-
Re: Request Fix a compile Error

Do not ignore @Dyaus's post. #2 (https://forums.alliedmods.net/showpost.php?p=2777059&postcount=2)


amx_load_setting_string_arr is probably due to the setting api.
#include <amx_settings_api>
Forum: Suggestions / Requests 04-17-2022, 21:56
Replies: 10
Views: 510
Posted By +ARUKARI-
Re: Request Fix a compile Error

RegisterHookChain is from ReAPI.
Are you using reapi? Then "#include <reapi>" should solve the problem.
Forum: Suggestions / Requests 04-13-2022, 23:54
Replies: 6
Views: 242
Posted By +ARUKARI-
Re: Ask for help

https://forums.alliedmods.net/showthread.php?t=26457
Forum: Suggestions / Requests 03-02-2022, 11:01
Replies: 5
Views: 569
Posted By +ARUKARI-
Re: (Req)How to make this plugin only apply to human players

beforeDamage

public beforeDamage(this, id, attacker, Float:damage, damagebits)
{
@@ if(is_user_bot(this))
@@ return HAM_IGNORED;

....
}
Forum: Suggestions / Requests 03-02-2022, 10:40
Replies: 5
Views: 569
Posted By +ARUKARI-
Re: (Req)How to make this plugin only apply to human players

What do you mean "human players"?
Either that or you're saying it's not a BOT, or you're talking about someone from ZP.
Forum: Approved Plugins 02-28-2022, 01:51
Replies: 160
Views: 99,720
Posted By +ARUKARI-
Re: Mp5+M203 Replacement

Recompile.
You will probably get an error, so try adding the following

#include <fun>
Showing results 1 to 25 of 500

 
Forum Jump

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


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