Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 25
Search took 0.02 seconds.
Search: Posts Made By: Muhlex
Forum: Scripting 10-16-2020, 12:40
Replies: 9
Views: 2,062
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Alright, thank you again for the elaborate answer. That about covers all my questions towards the enum struct syntax. It's pretty helpful but doesn't result in great code if overused, as it's just...
Forum: Scripting 10-15-2020, 13:45
Replies: 2
Views: 1,428
Posted By Muhlex
Re: CS:GO – Spawning live bumpmine_projectiles

Thanks for the reply! I did roughly get how Netprops and Datamaps work (now I do a little better even, thanks to you).

That said, I seems like I really didn't have a thorough look at the datamaps...
Forum: Scripting 10-13-2020, 07:06
Replies: 9
Views: 2,062
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Another thing... Is it possible to retrieve a method from an enum struct which is stored in an ArrayList and then execute it, without getting a full copy of the enum struct? Similar to how...
Forum: Scripting 10-12-2020, 08:14
Replies: 9
Views: 2,062
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

First of, thanks a lot for taking time out of your day to explain this in detail @Peace-Maker. Awesome write-up and great example!



Wow, I simply didn't know the :: operator existed. Got how...
Forum: Scripting 10-12-2020, 03:32
Replies: 9
Views: 2,062
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Thanks a lot to you two, that makes total sense.

I'm currently discovering the new enum structs (which is why I'm pushing regular arrays in the ArrayList instead of another ArrayList) and am...
Forum: Scripting 10-11-2020, 20:02
Replies: 9
Views: 2,062
Posted By Muhlex
Return arrays in ArrayLists by reference

Is it possible to retrieve an array pushed into an ArrayList by reference?

As hinted at in the documentation, ArrayList.GetArray() (https://sm.alliedmods.net/new-api/adt_array/ArrayList/GetArray)...
Forum: Scripting 09-18-2020, 20:19
Replies: 2
Views: 1,428
Posted By Muhlex
CS:GO – Spawning live bumpmine_projectiles

I am trying to spawn live bumpmines (basically as if a player thew them but without the actual throwing part). While it is easy to create the according entity bumpmine_projectile, it does not behave...
Forum: Scripting 06-04-2020, 18:38
Replies: 6
Views: 2,955
Posted By Muhlex
Re: [CS:GO] Replace regular Scoreboard with Deathmatch Scoreboard

I'll just paste in the code I threw together rather quickly. Might clean it up further and release it as a small helper plugin later.

This blocks the respawn sound that can be heard by everyone in...
Forum: Scripting 05-30-2020, 07:07
Replies: 6
Views: 2,955
Posted By Muhlex
Re: [CS:GO] Replace regular Scoreboard with Deathmatch Scoreboard

I managed to get rid of all the annoying stuff about valve's DM and am now using that mode as a base. I'm away from home over the weekend, will try to remember to post my solution here next week.
Forum: Scripting 02-23-2020, 19:14
Replies: 6
Views: 2,955
Posted By Muhlex
Re: [CS:GO] Replace regular Scoreboard with Deathmatch Scoreboard

Finally got around to testing that. Seems like sv_nonemesis alongside with other similar convars like sv_nomvp were back in CSS but do not exist for CS:GO unfortunately. I would also be unsure on how...
Forum: Scripting 02-06-2020, 20:02
Replies: 6
Views: 2,955
Posted By Muhlex
Re: [CS:GO] Replace regular Scoreboard with Deathmatch Scoreboard

That is indeed a sensible approach. Didn't know about the nemesis thing especially. Thanks for the heads up.
Forum: Scripting 02-06-2020, 13:07
Replies: 6
Views: 2,955
Posted By Muhlex
[CS:GO] Replace regular Scoreboard with Deathmatch Scoreboard

I am creating a FFA deathmatch gamemode (where score actually somewhat matters) but I use Casual as a base mode. (Because I don't want to deal with dominations, chickens, respawn noises and chat...
Forum: Scripting 10-13-2019, 05:52
Replies: 10
Views: 4,148
Posted By Muhlex
Re: [CS:GO] Healthshot screen effect.

I just checked out half the particles folder from the pak file and it does seem like there is no particle effect for this. (At least I couldn't find one where it would make any sense.) Seems to be...
Forum: Scripting 10-11-2019, 10:27
Replies: 10
Views: 4,148
Posted By Muhlex
Re: [CS:GO] Healthshot screen effect.

Im pretty sure Valve implemented this with a "viewmodel" particle effect, which you could send to the Client yourself via Temp Entities or an info_particle_system. You might need to check CS:GOs .pcf...
Forum: Scripting 06-04-2019, 20:27
Replies: 3
Views: 1,270
Posted By Muhlex
Re: [CSGO] Can (Team-)Scores be modified clientside / faked to clients?

Thanks a lot, I might just let it be if it's too unreliable/inefficient/hard to do. Will look into it though, thank you.
Forum: Scripting 06-04-2019, 06:29
Replies: 3
Views: 1,270
Posted By Muhlex
[CSGO] Can (Team-)Scores be modified clientside / faked to clients?

I want to show Team-Scores of Ts and CTs on the HUD (and Scoreboard) differently for every client. Is it possible to not actually change these values serverside, but send fake values to clients?
...
Forum: Scripting 05-28-2019, 08:46
Replies: 5
Views: 3,265
Posted By Muhlex
Re: [CSGO] Sank Sounds Plugin

You should be able to just replace
GetClientAuthString(client, auth, sizeof(auth));withGetClientAuthId(client, AuthId_Engine, auth, sizeof(auth));to get rid of your warnings. They will result in the...
Forum: Scripting 05-28-2019, 08:31
Replies: 6
Views: 4,301
Posted By Muhlex
Re: [CSGO] Possible to get the Weapon Name from Weapon ID? (Not Classname!)

Thanks for the reminder, missed to do that.

Gonna leave this code here, which will get the actual weapon name/alias from a weapon entity index for CSGO (and probably CSS):

#include <cstrike>
...
Forum: Scripting 05-27-2019, 06:50
Replies: 6
Views: 4,301
Posted By Muhlex
Re: [CSGO] Possible to get the Weapon Name from Weapon ID? (Not Classname!)

So I now built this:

int iWeapon = GetPlayerWeaponSlot(iClient, 1);
int iWeaponItemDefIndex = GetEntProp(iWeapon, Prop_Send, "m_iItemDefinitionIndex");

CSWeaponID cswWeaponToCheck =...
Forum: Scripting 05-27-2019, 05:46
Replies: 6
Views: 4,301
Posted By Muhlex
Re: [CSGO] Possible to get the Weapon Name from Weapon ID? (Not Classname!)

Thanks a lot for the reply. However I meant to use the Entity Index of the weapon (called it weapon ID by mistake) and get the name from there.

Basically what I want to do is check a player's...
Forum: Scripting 05-26-2019, 19:03
Replies: 6
Views: 4,301
Posted By Muhlex
[CSGO] Possible to get the Weapon Name from Weapon ID? (Not Classname!)

As CS:GO has weapons that share the same classname (the one's that are in the same inventory slot), for example the P2000 and USP-S (weapon_hkp2000, weapon_usp_silencer), I am now looking for a way...
Forum: Snippets and Tutorials 05-12-2019, 19:04
Replies: 285
Views: 109,074
Posted By Muhlex
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I tried to do that but faced some errors on compile which are probably due to me having left out a file when installing. I didn't bother afterwards and can't get around to trying it again at the...
Forum: Snippets and Tutorials 05-12-2019, 10:01
Replies: 285
Views: 109,074
Posted By Muhlex
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I am currently trying to implement Dynamic into a series of plugins, simply for allowing easy access to data tied to clients for each plugin. Thus I am trying to use the static player settings...
Forum: Scripting 04-07-2019, 10:41
Replies: 8
Views: 2,644
Posted By Muhlex
Re: [CSGO] Bonemerging particles on model(Position on Model Random)

Having the same problem. I spawn a particle using the "Position on Model Random" Initializer, teleport it to the player's position and use SetParent to define the player as the parent. Once activated...
Forum: Plugins 03-24-2019, 08:29
Replies: 15
Views: 17,741
Posted By Muhlex
Re: [CS:GO] Zeus Tracer Bullets v.1.2 (Updated: March 13, 2017)

Not sure if you are still interested in updating the plugin. However I have found a flaw that probably explains the problems User Randomise had with the plugin back in 2017.



Sending the...
Showing results 1 to 25 of 25

 
Forum Jump

All times are GMT -4. The time now is 06:50.


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