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

Showing results 1 to 25 of 78
Search took 0.01 seconds.
Search: Posts Made By: cra88y
Forum: Plugins 11-02-2020, 00:23
Replies: 26
Views: 28,484
Posted By cra88y
Re: [CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)

Here's an example you can implement 8)

#include <sdktools>
public void OnPluginStart()
{
//loop all players
OnClientPutInServer(i);
}
public void OnClientPutInServer(int client)
{
Forum: Plugins 06-14-2019, 11:33
Replies: 19
Views: 14,975
Posted By cra88y
Re: [CS:GO] SpecList

It’s for the plugin’s spectator list, not the game’s.. the point being it’s not apparent that you’re spectating a specific person. I believe there are plugins to hide from the games scoreboard as...
Forum: Plugins 06-09-2019, 18:39
Replies: 19
Views: 14,975
Posted By cra88y
Re: [CS:GO] SpecList

Updated version (v1.1) to fix GOTV showing bug, make it easier to decide who gets admin/vip colors, and a few misc fixes.

in configs/admin_overrides.cfg:

Overrides
{
"spec_vip" ...
Forum: Scripting 12-12-2018, 15:30
Replies: 1
Views: 1,121
Posted By cra88y
Re: Sourcemod Sub-Menus Help

Honestly I don't know what's up with what you have but here's the code I use for a relevant plugin

You can use multiple handlers but I felt it was easier for me to just combine them since a lot of...
Forum: Plugin/Gameplay Ideas and Requests 10-10-2018, 00:18
Replies: 7
Views: 1,727
Posted By cra88y
Re: [IDEA] Play snake game while loading into CS:GO Server

Putting all the lag spiking you get when joining the server and determining ways to get client key input when loading in aside, I'm pretty sure that text is static(client side) and/or wouldn't be...
Forum: Plugins 10-09-2018, 17:16
Replies: 13
Views: 14,042
Posted By cra88y
Re: [CSGO] Ramp slope fix (from Momentum Mod)

Yeah, when I add this plugin and restart, it crashes over and over again. Removing it stops the crashes. And I want to use it for combat surf, so the speed gaining isn't really an issue for me. If...
Forum: Plugin/Gameplay Ideas and Requests 10-09-2018, 17:10
Replies: 8
Views: 2,237
Posted By cra88y
Re: Anti Spectator CSGO

Untested, but do you mean this kind of thing?

#pragma semicolon 1
#pragma newdecls required
#include <sourcemod>
#include <sdktools>
public Plugin myinfo =
{
name = "KickWhenFull",...
Forum: Plugin/Gameplay Ideas and Requests 10-09-2018, 16:56
Replies: 5
Views: 1,176
Posted By cra88y
Re: [CS:GO] Invisibility

SDKHook(client, SDKHook_SetTransmit, OnTransmit);?
Forum: Plugin/Gameplay Ideas and Requests 10-07-2018, 20:52
Replies: 3
Views: 1,013
Posted By cra88y
Re: $5 request

Oh shoot, it was really late I must have messed it up after testing it, I didn't try using it with on say, but when I tested it with a custom command just now it does work.
Updated code \/

...
Forum: Plugin/Gameplay Ideas and Requests 10-07-2018, 13:52
Replies: 4
Views: 1,847
Posted By cra88y
Re: sv_cheats

I spent some time trying to make a fullbright command a while back, but couldn't ever get it to work well. I don't think you can force it on the clients.
Forum: Plugin/Gameplay Ideas and Requests 10-07-2018, 04:56
Replies: 3
Views: 1,013
Posted By cra88y
Re: $5 request

Provided the exact output you asked for, the little testing I did, let me know if it does what you need :)

Should just be able to:

public void OnPluginStart()
{
AddCommandListener(OnSay,...
Forum: Scripting 10-06-2018, 19:23
Replies: 6
Views: 1,100
Posted By cra88y
Re: How do you

Floats are 32 bit in sourcemod so you can't have that much precision, I'd recommend just rounding it..
Forum: Scripting 10-06-2018, 19:13
Replies: 6
Views: 1,100
Posted By cra88y
Re: How do you

I think you can use:

float value = 0.0000001
PrintToServer("%.2f", value);


(2 being the decimal places to display)
Forum: Scripting 10-06-2018, 05:24
Replies: 6
Views: 2,335
Posted By cra88y
Re: Blood Kill Effect

Looks promising, you'd have to test it, but I'd suggest:


public void DelParticle(int client)
{
int ent = EntRefToEntIndex(g_iParticleSystem[client]);

if (ent && ent !=...
Forum: Scripting 10-06-2018, 01:55
Replies: 7
Views: 2,416
Posted By cra88y
Re: CSGO: Mute the sound of a knife hitting a friendly target

First solution that comes to mind would be using something like
GetClientAimTarget(client, true);

But there's probably a better solution.

EDIT:
NormalSHook has an entity parameter, which...
Forum: Scripting 10-06-2018, 01:25
Replies: 7
Views: 2,416
Posted By cra88y
Forum: General 10-05-2018, 22:15
Replies: 6
Views: 1,684
Posted By cra88y
Re: Anyway to turn this off?

I don't believe you're allowed to post an smx without a source, so for anyone else interested here's a block for join / leave messages.
Forum: General 10-05-2018, 19:35
Replies: 6
Views: 1,684
Posted By cra88y
Re: Anyway to turn this off?

I made this for disconnect messages, just copy the same format for the other messages :)


public void OnPluginStart()
{
HookEvent("player_disconnect", Event_Disconnect, EventHookMode_Pre);
}...
Forum: Plugins 10-05-2018, 18:05
Replies: 13
Views: 14,042
Posted By cra88y
Re: [CSGO] Ramp slope fix (from Momentum Mod)

Are the addresses out of date? Puts my windows test server in a crash loop.
Forum: Scripting 10-05-2018, 17:09
Replies: 6
Views: 2,335
Posted By cra88y
Re: Blood Kill Effect

You can trigger particle effects (like blood) in a take damage hook probably.
"blood_impact_goop_heavy"

Related


bool CreateParticle(int client, char[] particle)
{
DelParticle(client);...
Forum: Scripting 10-05-2018, 17:05
Replies: 3
Views: 1,055
Posted By cra88y
Re: [CS:GO] Give weapon_hkp2000

Not sure if you're trying to give them their hkp with a skin (don't think it's possible unless they have it equipped).

But if you just want to detect if they have a skin on their hkp you can just...
Forum: Scripting 10-05-2018, 17:01
Replies: 1
Views: 478
Posted By cra88y
Re: guns menu help

This is the stock I made for it

stock void RemoveWeapons(int client, bool leavec4 = true)
{
int primary = GetPlayerWeaponSlot(client, 0);
int secondary = GetPlayerWeaponSlot(client, 1);...
Forum: Scripting 10-05-2018, 16:45
Replies: 7
Views: 2,211
Posted By cra88y
Re: Error 100: Function prototypes do not match

Try new syntax after giving this a read:
https://wiki.alliedmods.net/Menu_API_(SourceMod)

Should be simpler and fix your issues if you replicate what the guide does :)
Forum: Plugin/Gameplay Ideas and Requests 10-05-2018, 04:24
Replies: 5
Views: 1,170
Posted By cra88y
Re: [REQ] Plugin/script that disables duplicate knifes spawning on round start.

It's not an existing thing, it was a suggestion of a potential solution you could easily create! :wink:
Forum: Plugin/Gameplay Ideas and Requests 10-04-2018, 23:33
Replies: 4
Views: 1,248
Posted By cra88y
Re: Server Sided Anti-Cheat

Anti cheat is quite limited when trying to detect stuff through sourcepawn, I'd say CowAC is your best bet, just go through the config files and up the threshold or disable detection methods that are...
Showing results 1 to 25 of 78

 
Forum Jump

All times are GMT -4. The time now is 20:47.


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