Raised This Month: $276 Target: $400
 69% 

Showing results 1 to 25 of 258
Search took 0.01 seconds.
Search: Posts Made By: safetymoose
Forum: Snippets and Tutorials 08-30-2020, 11:51
Replies: 9
Views: 3,292
Posted By safetymoose
Re: [CSGO] Change player collision hull

edit: nvm, i just had it setup wrong..
Forum: General 08-19-2020, 13:30
Replies: 0
Views: 278
Posted By safetymoose
Server side downloads

I've seen this issue plaguing a lot of servers. Server side downloads are way too slow and take unnecesarily long. Not the connection speed mind you, fastdl does it's job fine and big file downloads...
Forum: Source Servers (SRCDS) 08-15-2020, 04:38
Replies: 61
Views: 8,124
Posted By safetymoose
Re: seDirector [5.6] - srcds manager, auto-updater, crash notifications, and more

A couple of weird bugs with the program:


After leaving it running for a while, the interface freezes completely. I cant click anywhere on the whole window, none of the buttons are responding,...
Forum: Scripting 07-12-2020, 15:43
Replies: 5
Views: 574
Posted By safetymoose
Re: Map light origin

What i'd like to know is, is there a way to directly retrieve the origin from the light entity itself?

If not, i think i should be looking into the entity lump from OnLevelInit. It has the...
Forum: Scripting 07-12-2020, 10:18
Replies: 5
Views: 574
Posted By safetymoose
Re: Map light origin

Code:

public OnEntityCreated(entity, const char[] classname)
{
if (StrContains(classname, "light", false) != -1)
{
//SDKHook(entity, SDKHook_SpawnPost, OnLightSpawnPost) // Spawn doesnt...
Forum: Scripting 07-12-2020, 05:46
Replies: 5
Views: 574
Posted By safetymoose
Map light origin

How can i retrieve the origin of a map's "light" entity?

"m_vecOrigin" doesn't work here.
Forum: General 07-12-2020, 04:05
Replies: 5
Views: 677
Posted By safetymoose
Re: How to install .amx plugins not .amxx ?

read this: https://forums.alliedmods.net/showthread.php?t=275836
Forum: Scripting 07-11-2020, 13:16
Replies: 2
Views: 335
Posted By safetymoose
Re: [CS:GO] Client LightStyle

SetLightStyle does it globally. I need to set a different light value for every client.
Forum: Scripting 07-11-2020, 11:43
Replies: 2
Views: 335
Posted By safetymoose
[CS:GO] Client LightStyle

Is there a way to individually set lightstyle for each player in CSGO? In CS 1.6 we have SVC_LIGHTSTYLE message that can be sent to every client. Anything like this in CSGO? Or any other working...
Forum: Scripting Help 06-02-2020, 03:29
Replies: 11
Views: 526
Posted By safetymoose
Re: [Help] Set license

You're not following AMXX's license and you expect other people to follow yours. Do you see the problem here or do we need to take your pink sunglasses off?
Forum: Scripting 05-21-2020, 16:05
Replies: 2
Views: 358
Posted By safetymoose
Re: Settings API (KeyValues)

Works perfectly for what i needed. Thanks.
Forum: General 05-21-2020, 15:53
Replies: 4
Views: 773
Posted By safetymoose
Re: AddToFullPack in SourceMod?

https://github.com/alliedmodders/amxmodx/blob/master/plugins/include/fakemeta_const.inc#L622-L715

AMXX's AddToFullPack gives us great control over entities using these offsets. Is there a way to...
Forum: Scripting 05-20-2020, 18:08
Replies: 10
Views: 703
Posted By safetymoose
Re: SetEntPropEnt "m_hOwnerEntity" Changes Collision Group & Weapon Interaction

Oh, now i see what you mean by owner. You want to save the player's index. Your method should work great, but there might be a better way. The targetname field is a string and can be usefull for...
Forum: Scripting 05-17-2020, 15:15
Replies: 2
Views: 358
Posted By safetymoose
Settings API (KeyValues)

Is there a sourcemod equivalent of amxx's Settings API (https://forums.alliedmods.net/showthread.php?t=243202)? Or any type of ready-made API that can give load/save functions for KeyValues and files?
Forum: Scripting 05-14-2020, 03:16
Replies: 10
Views: 703
Posted By safetymoose
Re: SetEntPropEnt "m_hOwnerEntity" Changes Collision Group & Weapon Interaction

I believe owner is used for projectiles, projectiles are given the owner info so they dont collide or interact with the owner. Here are some links from HL1's engine, i assume HL2 behaves similarly.
...
Forum: Scripting 05-13-2020, 15:41
Replies: 10
Views: 703
Posted By safetymoose
Re: SetEntPropEnt "m_hOwnerEntity" Changes Collision Group & Weapon Interaction

It's not a bug, that is how the engine works. Same applies to goldsource games. There is no collision between an entity and it's owner.
Forum: Scripting 05-09-2020, 14:15
Replies: 6
Views: 281
Posted By safetymoose
Re: Pause/Unpause sourcemod plugins

I think it's not implemented(yet).

https://github.com/alliedmodders/sourcemod/blob/81dc80fbd14b7eba3c20bc22a60629fc874015de/plugins/include/core.inc#L86-L87

I'm gonna stick to the method you...
Forum: Suggestions / Requests 05-09-2020, 11:24
Replies: 6
Views: 396
Posted By safetymoose
Re: Server Lock with max players

That's a great way to annoy players and make them leave the server..

Why freeze and annoy them with MOTDs? Why not just a simple ad message?

https://forums.alliedmods.net/showthread.php?t=27814
Forum: Scripting 05-09-2020, 11:01
Replies: 6
Views: 281
Posted By safetymoose
Re: Pause/Unpause sourcemod plugins

I guess i'll have to go with that, unless there's a better way.
Forum: Scripting 05-09-2020, 10:32
Replies: 6
Views: 281
Posted By safetymoose
Re: Pause/Unpause sourcemod plugins

That's so weird. I found this in the include

/**
* Called when the plugin's pause status is changing.
*
* @param pause True if the plugin is being paused, false otherwise.
*/...
Forum: Scripting 05-09-2020, 09:55
Replies: 6
Views: 281
Posted By safetymoose
Pause/Unpause sourcemod plugins

AMXX has functions that can pause (https://www.amxmodx.org/api/amxmodx/pause)/unpause (https://www.amxmodx.org/api/amxmodx/unpause) plugins allowing for certain plugins to be loaded when needed and...
Forum: Suggestions / Requests 05-06-2020, 13:14
Replies: 1
Views: 145
Posted By safetymoose
Forum: Scripting Help 05-03-2020, 09:54
Replies: 2
Views: 274
Posted By safetymoose
Forum: Scripting Help 04-29-2020, 02:25
Replies: 15
Views: 763
Posted By safetymoose
Re: Problem with task

591

Can be anything you want as long as it doesnt interfiere with another task. I simply go up by 100 for each task.
Forum: Scripting Help 04-29-2020, 01:33
Replies: 15
Views: 763
Posted By safetymoose
Re: Problem with task

#define TASK_GIVEDEAGLE 558
#define TASK_REMOVEDEAGLE 559
->

#define TASK_GIVEDEAGLE 558
#define TASK_REMOVEDEAGLE 659
Your tasks are too close to eachother and causing overlaps. Tasks need a...
Showing results 1 to 25 of 258

 
Forum Jump

All times are GMT -4. The time now is 23:51.


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