Raised This Month: $344 Target: $400
 86%   Almost there!

Showing results 1 to 25 of 471
Search took 0.01 seconds.
Search: Posts Made By: sdz
Forum: Plugins 04-29-2022, 07:24
Replies: 9
Views: 7,539
Posted By sdz
Re: Family Share Whitelist

1.5.5 released on 4/29/2022 since valve either removed or broke IsPlayingSharedGame from the API

patch notes:
it uses steamworks
it dont need an api key
it dont need an appid
it is just better...
Forum: Plugins 08-10-2019, 16:06
Replies: 0
Views: 1,434
Posted By sdz
[HL2DM] Footsteps

as title and description put it, there is really nothing else at play here
you can set rebel footsteps to combine, combine to rebel, both to either

if you want a reference on this, from sdk:
...
Forum: Scripting 04-26-2019, 21:57
Replies: 6
Views: 2,657
Posted By sdz
Re: Is ti possible to include .sp files?

includes inside of angle brackets (<this>) should be used for compiler specific inclusion or something like that, this is a c and c++ thing
anything else like externals, go enclosed in quotations...
Forum: Plugins 04-26-2019, 13:59
Replies: 207
Views: 144,886
Posted By sdz
Re: Killer info display 1.4.1 (health, weapon, distance, works for all games)

i rewrote this plugin to use newdecls and modern compiler, also removed smlib functionality for whoever wants, added a cvar and did good stuff


// This file was auto-generated by SourceMod...
Forum: Scripting 04-01-2019, 13:06
Replies: 15
Views: 3,019
Posted By sdz
Re: Help to make cooldown plugin and add the player to mysql

for your timer: Unix Time (https://www.unixtimestamp.com/)
for your database woes: https://wiki.alliedmods.net/SQL_(SourceMod_Scripting)#Threading
Forum: Scripting 01-24-2019, 07:03
Replies: 5
Views: 1,989
Posted By sdz
Re: TF2 Stats - Beginning questions

Use threaded sql operations or else your server is gonna freeze a lot - https://wiki.alliedmods.net/SQL_(SourceMod_Scripting)#Threading
Forum: Scripting 01-19-2019, 17:33
Replies: 2
Views: 1,273
Posted By sdz
Re: Timer on event

https://sm.alliedmods.net/new-api/timers/CreateTimer
https://sm.alliedmods.net/new-api/events/Event


#include <sourcemod>
#include <sdkhooks>

public void OnPluginStart()
{...
Forum: Scripting 01-13-2019, 10:46
Replies: 5
Views: 1,720
Posted By sdz
Re: I how get player name with steam id

you can make a sqlite/mysql database storing player names when they join and when they change their name (player_changename event) and use that
Forum: Plugin/Gameplay Ideas and Requests 01-11-2019, 08:53
Replies: 15
Views: 1,716
Posted By sdz
Re: a little plugin to convert

https://forums.alliedmods.net/showthread.php?t=244387
Forum: Scripting 01-10-2019, 20:26
Replies: 2
Views: 1,057
Posted By sdz
Re: Help trying to use item_kevlar in my sp

#include <sourcemod>
#include <sdktools>

public Plugin myinfo =
{
name = "armor for ct",
description = "basic plugin, give 100 armor to all cts uses code from last ct. Repurposed of...
Forum: Scripting 01-10-2019, 16:25
Replies: 1
Views: 897
Posted By sdz
Re: CsGo Voice manager

make a post in the requests forum, a plugin like this has probably already been made, if not, someone may make it
Forum: Scripting 01-10-2019, 16:11
Replies: 4
Views: 1,010
Posted By sdz
Re: Execute sm_beacon by plugin

hopefully you're not targeting by name, because there is nothing stopping a player from coming into the server with the name ";sm_rcon quit" and running your code if you're using automatic name based...
Forum: Scripting 12-30-2018, 18:41
Replies: 3
Views: 831
Posted By sdz
Re: Freeday menu show all alive terrorists does not work

try IsClientConnected or IsClientInGame beforehand
Forum: Scripting 12-28-2018, 16:45
Replies: 11
Views: 2,698
Posted By sdz
Re: Execute command from a menu

https://sm.alliedmods.net/new-api/entity_prop_stocks/SetEntityGravity

depending on your game:
cstrike/csgo https://sm.alliedmods.net/new-api/cstrike/CS_RespawnPlayer

tf2...
Forum: Scripting 12-28-2018, 15:08
Replies: 11
Views: 2,698
Posted By sdz
Re: Execute command from a menu

first things first i can't recommend mixing the two syntaxes, it looks bad and inconsistent as well as people on this forum will cry for weeks on end
continuing on - the blow example is wrong,...
Forum: Unapproved Plugins 10-20-2018, 02:43
Replies: 2
Views: 1,859
Posted By sdz
Phoneburnia Redux

Generic Feature Rundown:

Prop spawning and ownership
Prop feature and attribute management
Build commands
Trusted & Untrusted listing
Included prop list for !spawn, untrusted restricted...
Forum: Scripting 10-18-2018, 19:13
Replies: 19
Views: 2,364
Posted By sdz
Re: Store 3 values

or you know a keyvalues object
Forum: Scripting 10-16-2018, 20:38
Replies: 19
Views: 2,364
Posted By sdz
Re: Store 3 values

enum
stringmap (https://sm.alliedmods.net/new-api/adt_trie)
keyvalues (https://sm.alliedmods.net/new-api/keyvalues/KeyValues)
standard arrays
Forum: Scripting 08-23-2018, 05:11
Replies: 9
Views: 1,705
Posted By sdz
Re: [CS:GO] Reselecting grenades after throwing one

https://asherkin.github.io/vtable/
Forum: Scripting 08-19-2018, 23:07
Replies: 9
Views: 1,705
Posted By sdz
Re: [CS:GO] Reselecting grenades after throwing one

have you tried ClientCommand(client, "use weapon_flashbang");
Forum: Scripting 07-19-2018, 19:59
Replies: 1
Views: 503
Posted By sdz
Re: Problems with creating a prop_physics

try prop_physics_override
Forum: Scripting 06-24-2018, 18:19
Replies: 6
Views: 984
Posted By sdz
Re: is this broken

riiiight always something simple
thanks

mightve helped if i actually read the post instead of skimming it over as well
Forum: Scripting 06-24-2018, 18:13
Replies: 6
Views: 984
Posted By sdz
Re: is this broken

so what i'm understanding as well as gathering from testing is that I need to delete the file, then export, or else it just kinda repastes the entirely kv into itself..

please correct me if...
Forum: Scripting 06-24-2018, 17:25
Replies: 6
Views: 984
Posted By sdz
Re: is this broken

unless im misunderstanding I think you missed what I was pointing out between the two keyvalues files

if you compared them side by side, you'll notice in the hats section, the section cone is...
Forum: Scripting 06-24-2018, 16:22
Replies: 6
Views: 984
Posted By sdz
is this broken

i dont think this is how this is supposed to work but

writing stuff to keyvalues file
kv is global variable
.importedfromfile every time it needs to be accessed
making command to rewrite some...
Showing results 1 to 25 of 471

 
Forum Jump

All times are GMT -4. The time now is 14:16.


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