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

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: LiveAndLetDie
Forum: Scripting 07-20-2022, 05:52
Replies: 2
Views: 663
Posted By LiveAndLetDie
Re: [L4D2] EmitSoundOnClient question

Did you precache the sound file?

https://sm.alliedmods.net/new-api/halflife/PrecacheSound

Sometimes it's necessary even with default game files.

Also check the correct syntax on...
Forum: Scripting 07-19-2022, 05:42
Replies: 3
Views: 811
Posted By LiveAndLetDie
Re: How to detect a client looking/aiming at the ground?

I know this plugin and how it works but unfortunately it doesn't help me to solve my problem.
Forum: Scripting 07-18-2022, 20:33
Replies: 3
Views: 811
Posted By LiveAndLetDie
Re: How to detect a client looking/aiming at the ground?

I want clients to be able to spawn props on ground or floor only.
Forum: Scripting 07-17-2022, 13:21
Replies: 3
Views: 811
Posted By LiveAndLetDie
How to detect a client looking/aiming at the ground?

I would need a little nifty function to detect whenever a player is looking/aiming at the ground but couldn't figure it out. I guess it could be done with vectors or tracerays. Any help?
Forum: General 04-06-2021, 21:20
Replies: 0
Views: 677
Posted By LiveAndLetDie
Negative amount of edicts

Hey, I just noticed that there was a negative amount of edicts in a map. Any explanation for that?

edicts : -122/2048/2170 (used/max/free)

Info from 'status' console command. Also using Create...
Forum: Scripting 04-01-2021, 21:59
Replies: 5
Views: 930
Posted By LiveAndLetDie
Re: First time creating natives

Thanks!



Why is that? Especially if one doesn't have a need to check overrides or commands.
Forum: Scripting 03-31-2021, 23:08
Replies: 5
Views: 930
Posted By LiveAndLetDie
Re: First time creating natives

And yes, I know that a native like that doesn't make much sense but it's just an example.
Forum: Scripting 03-31-2021, 22:51
Replies: 5
Views: 930
Posted By LiveAndLetDie
First time creating natives

Hey, I am learning how to create natives and after reading the article on wiki I came up with this. Does it seem correct? At least it works but it doesn't necessarily mean that's it's 'smartly' done....
Forum: Scripting 03-18-2021, 14:25
Replies: 8
Views: 1,436
Posted By LiveAndLetDie
Re: Checking for flag in script

#include <sourcemod>

public void OnPluginStart()
{
RegConsoleCmd("sm_test", Test);
}

public Action Test(int client, int args)
{
ClientHasFlag(client) ? PrintToChat(client, "Yea") :...
Forum: Plugins 03-07-2021, 17:08
Replies: 19
Views: 7,665
Posted By LiveAndLetDie
Re: [CSGO/?] Folder Downloader & Precacher

Yo,
https://github.com/SpirTBBX/Folder-Downloader-And-Precacher/blob/main/addons/sourcemod/scripting/spirt_folder_dl_precache.sp#L156

Did you mean PrecacheSound instead of PrecacheDecal there?
Forum: Scripting 02-27-2021, 18:59
Replies: 8
Views: 1,010
Posted By LiveAndLetDie
Re: Bug after losing a round

It's not a bug. The mapper just didn't put enough spawnpoints (info_player_terrorist or info_player_counterterrorist entities) into the map and the issue occurs when the amount of players exceeds the...
Forum: Scripting 11-23-2020, 14:11
Replies: 3
Views: 1,193
Posted By LiveAndLetDie
Re: Check if client has at least one of multiple flags

Both of these do the job. Thanks a lot! :)
Forum: Scripting 11-22-2020, 20:46
Replies: 3
Views: 1,193
Posted By LiveAndLetDie
Check if client has at least one of multiple flags

Hey, I want to check if client has at least one of the required flags set by cvar. Below is an example code which apparently only works with the first flag in the cvar string because if I give myself...
Forum: General 05-10-2020, 21:39
Replies: 5
Views: 2,120
Posted By LiveAndLetDie
Re: Your map [maps\...] differs from the server's error

Players who don't have an existing map* with same name can download it normally, otherwise it gives an error.

*edit: meaning that the player's and server's map is different but the name is still...
Forum: General 04-29-2020, 21:21
Replies: 9
Views: 2,024
Posted By LiveAndLetDie
Re: Help Finding Zombie crawling Torso Model for CSS

Presumably you should have a file called downloads.txt or something similar in your sourcemod/configs folder. So just copy everything from the text document found in frazzle.zip and paste them in you...
Forum: General 04-28-2020, 18:20
Replies: 9
Views: 2,024
Posted By LiveAndLetDie
Re: Help Finding Zombie crawling Torso Model for CSS

Apparently it's called frazzle by s-low. All files are available on the site I posted but you can also download it from attachment in this post.
Forum: General 04-27-2020, 19:08
Replies: 9
Views: 2,024
Posted By LiveAndLetDie
Re: Help Finding Zombie crawling Torso Model for CSS

Hey, is this the model you are looking for? It kinda matches your description.

https://www.gg-elite.net/attachment/539-frazzle-jpg/?5b559fb5
You can download it from...
Forum: Scripting 04-27-2020, 08:23
Replies: 2
Views: 1,030
Posted By LiveAndLetDie
Re: Am I using SM cookies correctly?

Thank you @Bacardi for feedback.
Forum: Scripting 04-26-2020, 22:05
Replies: 2
Views: 1,030
Posted By LiveAndLetDie
Am I using SM cookies correctly?

Hey, so I am learning how to use cookies and came up with a test plugin like below. You can use command /announce and it should enable cookie and print to chat "Hello world" after client joins if...
Showing results 1 to 19 of 19

 
Forum Jump

All times are GMT -4. The time now is 11:15.


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