Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 306
Search took 0.01 seconds.
Search: Posts Made By: hellmonja
Forum: Scripting Help 04-17-2022, 11:11
Replies: 2
Solved custom sprite
Views: 269
Posted By hellmonja
Re: custom sprite

You need to do both. I assume you have the sprite already made.

In hud.txt you need to give that sprite a name you can call and set the numbers and stuff.

In the plugin, hook into DeathMsg....
Forum: Scripting Help 04-17-2022, 03:23
Replies: 8
Views: 323
Posted By hellmonja
Re: Removing Grenade Entity Before Explosion

Roger that. It's working now but I haven't had time to do an extensive so I don't know yet if it fixed the crashing. If it still does it's probably other stuff that's causing it. But it's good to...
Forum: Scripting Help 04-16-2022, 09:24
Replies: 8
Views: 323
Posted By hellmonja
Re: Removing Grenade Entity Before Explosion

That's definitely good to know, thanks. I'm familiar with FL_KILLME but it never worked for me. Probably because I'm unfamiliar with calling entity think and didn't know you had to do that.

I made...
Forum: Scripting Help 04-15-2022, 16:38
Replies: 3
Views: 181
Posted By hellmonja
Re: Help on Scripting

You posted in the wrong section then. Scripting Help is for helping you to script, not have someone do the work for you. I think that is for Plugin Requests.

What OciXCrom suggest is very easy...
Forum: Scripting Help 04-15-2022, 16:33
Replies: 8
Views: 323
Posted By hellmonja
Re: Removing Grenade Entity Before Explosion

Sorry. Not that I don't want to share, but the thing in embedded into a larger plugin. And I know you would like to have the whole thing but I doubt anyone would take the time to sift thru it.

I...
Forum: Scripting Help 04-15-2022, 15:27
Replies: 8
Views: 323
Posted By hellmonja
Re: Removing Grenade Entity Before Explosion

As I've said it only creates a minidump. No error logs...

I see how the thread can be related. But I only asked if anyone had an idea if removing grenades would cause the game to crash. The thing...
Forum: Scripting Help 04-15-2022, 15:16
Replies: 8
Views: 323
Posted By hellmonja
Removing Grenade Entity Before Explosion

Is there any known bug with removing a grenade entity multiple times before it explodes, like making the game crash or something?

I'm working on this plugin where you can throw a camera like a...
Forum: Scripting Help 02-23-2022, 15:40
Replies: 0
Views: 266
Posted By hellmonja
[HELP] Sliding Faster Down Ladders

Hey guys! Is it possible to make players go faster on ladders? I want to make a function that lets them slide down ladders...
Forum: Scripting Help 07-04-2021, 09:13
Replies: 9
Views: 1,052
Posted By hellmonja
Re: i need help when i work with function for this happens

Whether it was disrespectful or not is up for debate. My point is there are far better ways to go about it, without discouraging them. An easy way to see my point is to imagine someone telling you...
Forum: Scripting Help 07-04-2021, 00:48
Replies: 9
Views: 1,052
Posted By hellmonja
Re: i need help when i work with function for this happens

There are far classier ways to go about it:
1. "Please post the whole code so we can investigate further."
2. "That line of code seems fine. Please post the whole script so we can see where the...
Forum: Scripting Help 07-03-2021, 16:56
Replies: 9
Views: 1,052
Posted By hellmonja
Re: i need help when i work with function for this happens

Why so confrontational? Whatever happened to welcoming newbies and teaching them the ropes?...
Forum: Scripting Help 07-03-2021, 16:45
Replies: 36
Views: 2,243
Posted By hellmonja
Re: Get 'Owner' of other third entity

Just to be clear, rewriting a plugin from scratch is not a sign of bravado. It's always harder to fix someone else's code (at least from my experience personally) and writing it from scratch with the...
Forum: Scripting Help 06-27-2021, 17:07
Replies: 4
Views: 538
Posted By hellmonja
Re: [HELP] Getting Rescue Zone Coords Properly

Roger that. Set it from +-250 to +-50. I think it's working fine now...
Forum: Scripting Help 06-25-2021, 13:09
Replies: 4
Views: 538
Posted By hellmonja
Re: [HELP] Getting Rescue Zone Coords Properly

Cool! It has everything I need and actually works. I was wondering why always get stuck on the floor. In some maps the location is a bit off but that's okay. The worse is probably Italy. I don't know...
Forum: Scripting Help 06-23-2021, 16:33
Replies: 4
Views: 538
Posted By hellmonja
[HELP] Getting Rescue Zone Coords Properly

So I'm trying to make this plugin where as a CT you can teleport to the hostage rescue zone from anywhere near the map. I'm trying to get the coordinates for the rescue zone like so:
new entity =...
Forum: Scripting Help 04-11-2021, 17:30
Replies: 16
Views: 1,392
Posted By hellmonja
Re: Set armor and helmet using only engine

I've heard this many times. So when I need something in fakemeta_util I copy the function I need into my plugin and access it from there. Is this a better way or the same as using fakemeta_util?...
Forum: Scripting Help 04-11-2021, 17:22
Replies: 5
Views: 404
Posted By hellmonja
Re: [HELP] How to Count Hostages

#include <amxmodx>
#include <engine>
#include <fakemeta>

public plugin_init() {
register_plugin("Hostage Counter", "v0.1a", "hellmonja");

register_concmd("debug", "Debug");
}
Forum: Scripting Help 04-11-2021, 15:47
Replies: 5
Views: 404
Posted By hellmonja
Re: [HELP] How to Count Hostages

Pardon? Is that an offset?...

EDIT: Sorry but how do I use this? I can't find any examples. And when I try to use it with get_pdata_cbase the game hangs...
Forum: Scripting Help 04-11-2021, 15:28
Replies: 5
Views: 404
Posted By hellmonja
[HELP] How to Count Hostages

I have this:
new i_hostage_num, ent = -1;

while((ent = find_ent_by_class(ent, "hostage_entity")))
if(pev_valid(ent))
i_hostage_num++;

switch(i_hostage_num)
{
case 0 :...
Forum: Scripting Help 11-02-2020, 10:32
Replies: 3
Views: 446
Posted By hellmonja
Re: [HELP] Change Duration of Smoke

Will try that. It just occurred to me to look into the Colored Smokes plugin. There it uses TE_FIREFIELD. I'll try that first then TE_SMOKE if it doesn't work. I also found out if I remove the...
Forum: Scripting Help 11-02-2020, 10:29
Replies: 4
Views: 440
Posted By hellmonja
Re: [HELP] Hook Custom Entity Being Destroyed

I see. When you say 'check against' like this right?
if(equali(classname, "func_myent"))
Sorry, I can't access my unit for the time being.

Also, regarding Natsheh's post and why you didn't...
Forum: Scripting Help 11-02-2020, 01:17
Replies: 4
Views: 440
Posted By hellmonja
[HELP] Hook Custom Entity Being Destroyed

So let's say I made a breakable entity, and set its classname to 'func_myent' for example. How do I detect if it gets destroyed? I wanted to put some gibs when it gets killed. But I haven't seen...
Forum: Scripting Help 11-02-2020, 01:13
Replies: 3
Views: 446
Posted By hellmonja
[HELP] Change Duration of Smoke

Greetings! How's everyone doing these days?

Anyway getting right into it. Is it possible to shorten the smoke's life from a smoke grenade? I've searched high and low for this,and tried different...
Forum: Scripting Help 07-20-2020, 02:29
Replies: 11
Views: 1,004
Posted By hellmonja
Re: [HELP] Destroying 2 Bomb Sites

So far it works. It even allows me to plant three C4's one after the other before the 1st one explodes.
https://cdn.discordapp.com/attachments/623173530107772948/733756228408442980/gg_sands0000.jpg...
Forum: Scripting Help 07-17-2020, 13:51
Replies: 11
Views: 1,004
Posted By hellmonja
Re: [HELP] Destroying 2 Bomb Sites

register_logevent("Event_C4_Planted", 3, "2=Planted_The_Bomb")
...
public Event_C4_Planted()
{
return PLUGIN_HANDLED
}
Alright, solved it with this. It even works on rare maps with 3 bombsites...
Showing results 1 to 25 of 306

 
Forum Jump

All times are GMT -4. The time now is 13:49.


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