Raised This Month: $319 Target: $400
 79%   Almost there!

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Bacardi
Forum: Plugin/Gameplay Ideas and Requests Yesterday, 16:57
Replies: 2
Views: 135
Posted By Bacardi
Re: CSGO - Friendly Fire Disable for Zues

:/


#include <cstrike>
#include <sdkhooks>

public void OnPluginStart()
{
for(int i = 1; i <= MaxClients; i++)
{
Forum: General Yesterday, 02:06
Replies: 1
Views: 185
Posted By Bacardi
Re: A few Questions

Hi.

Half-Life 2 game engine have a lot of game mods, for example HL2MP, CS:S, TF2, L4D, CS:GO, L4D2 etc. etc.

MetaMod:Source and SourceMod are addons in server, to modified normal game play and...
Forum: Source Servers (SRCDS) 10-17-2021, 10:41
Replies: 1
Views: 208
Posted By Bacardi
Re: [CS:GO] banned_user data tranfer to Mysql_bans

What would happen, if you execute ban file ?

sm_rcon exec banned_user.cfg

*edit
About PHP, if you have home page which support PHP:
- create PHP file with that script, fill your mysql...
Forum: Plugin/Gameplay Ideas and Requests 10-17-2021, 08:46
Replies: 1
Views: 234
Posted By Bacardi
Re: Need help to create a plugin/addon

Can't understand, why you want make things harder way.



Maybe you find a way from MM:S code

https://github.com/alliedmodders/metamod-source

https://cs.alliedmods.net/metamod-source/source
Forum: Source Servers (SRCDS) 10-17-2021, 06:09
Replies: 25
Views: 8,381
Posted By Bacardi
Re: [TF2] tf_max_voice_speak_delay not existing

Thread: [TF2] Enhanced voice command spam unlimiter (https://forums.alliedmods.net/showthread.php?p=2738474#post2738474)
View Single Post

But offsets could be old, there have been few TF2...
Forum: General 10-16-2021, 23:09
Replies: 1
Views: 126
Posted By Bacardi
Re: Help! I need God to help me see how to use this music plug-in.

I guess that your upload host use "cloud" system... like OneDrive, GoogleDrive... not good.
Forum: Source Servers (SRCDS) 10-16-2021, 23:03
Replies: 1
Views: 120
Posted By Bacardi
Re: [Input required] Insurgency 2014 - Plugins

Dunno is this useful and does it still work.
[INS] Insurgency_Maps plugin natives GitHub (https://forums.alliedmods.net/showthread.php?t=287595)

-...
Forum: Source Servers (SRCDS) 10-16-2021, 10:44
Replies: 5
Views: 254
Posted By Bacardi
Re: Can servers query how many fps a client is getting?

...dam. I remember it have some 'bugs' as well. :P
Look those some day...
Forum: Source Servers (SRCDS) 10-16-2021, 08:43
Replies: 5
Views: 254
Posted By Bacardi
Re: Can servers query how many fps a client is getting?

https://sm.alliedmods.net/new-api/clients/GetClientAvgPackets

...player cmdrate at least tells, does he reach to server tickrate.
If player FPS goes lower than server tickrate -> player cmdrate...
Forum: Plugin/Gameplay Ideas and Requests 10-16-2021, 08:36
Replies: 4
Solved .
Views: 231
Posted By Bacardi
Re: steamid active hookevent

I made it so it use admins, rather than hard coded steamids in code or else source.



bool WhiteList[MAXPLAYERS+1];


public void OnPluginStart()
{
HookEvent("weapon_fire", weapon_fire);
Forum: Plugins 10-16-2021, 08:14
Replies: 127
Views: 56,417
Posted By Bacardi
Forum: Scripting 10-14-2021, 12:15
Replies: 14
Views: 588
Posted By Bacardi
Re: TF2 Get entity of fired projectile

funny, I just noticed.

On OnTakeDamage callback, inflictor can return as weapon entity index or projectile entity index.

For example medic shoot tf_projectile_syringe, inflictor is...
Forum: Source Servers (SRCDS) 10-13-2021, 18:54
Replies: 1
Views: 237
Posted By Bacardi
Re: Server No Longer Starting After Installing SourceMod

Super Mario Bros.?

Do we need ask every detail again and again and again...
You looked other topics, right ?
Forum: Scripting 10-13-2021, 05:47
Replies: 12
Views: 680
Posted By Bacardi
Re: TF2 Get weapon generic name

...tf\scripts\items\items_game.txt
Why not look from keyvalue file ?
Forum: General 10-13-2021, 03:52
Replies: 3
Views: 887
Posted By Bacardi
Re: [L4D2] Starting Health

This suppose to work when player spawn at start of map or safe room.
cvar: survivor_start_health
- 150 is default value, edit code or add cvar in config file.


bool IsInCheckpoint[10];
...
Forum: Off-Topic 10-12-2021, 15:02
Replies: 0
Views: 232
Posted By Bacardi
Some IP address things - Ben Eater

...hop to 10:34 in timeline
-wMU8vmfaYo
Forum: Source Servers (SRCDS) 10-12-2021, 08:31
Replies: 2
Views: 334
Posted By Bacardi
Re: workshop download my server does not work nmrih

What I have tested.

I downloaded NMRIH dedicated server using SteamCMD (https://steamdb.info/app/317670/). (os Windows)
- I did not enter any code for sv_steamaccount, or use Web API key anywhere...
Forum: Source Servers (SRCDS) 10-12-2021, 03:45
Replies: 1
Views: 282
Posted By Bacardi
Re: [TF2] Server runs fine, but crashes instantly when someone joins

create new folder in ...plugins/disabled/yourfolder -folder, move all SM plugins into new folder, reboot server.
- You can leave SM base plugins tough

Does crash stop ?
Forum: Scripting 10-12-2021, 03:34
Replies: 4
Views: 334
Posted By Bacardi
Re: [HL2DM] Sprite re-parenting offset issue

I don't have idea, how accurate are coordinates with client and sprite in same code sequence...
And perhaps 1 frame delay could be too short to fix it, next you could try create timer with 0.1...
Forum: Scripting 10-11-2021, 16:42
Replies: 4
Views: 334
Posted By Bacardi
Re: [HL2DM] Sprite re-parenting offset issue

You are doing all in same frame.
Try request next frame after teleport, then parent or something. My wild guess.
Forum: Source Servers (SRCDS) 10-11-2021, 16:31
Replies: 1
Views: 325
Posted By Bacardi
Re: Does CSGO DEDICATED Servers Still Working In 2021 ?!

Have you try, without port and ip parameters ?

Try only -usercon -console -game csgo +map de_dust2

Another thing in CS:GO, if you want host it public (outside of LAN), you need create token
...
Forum: Scripting 10-10-2021, 12:23
Replies: 14
Views: 588
Posted By Bacardi
Re: TF2 Get entity of fired projectile

*edit
nvm

...first idea, is you look:
- SDKHooks OnEntityCreated, check entity projectile classname
- Take entity ref value https://sm.alliedmods.net/new-api/halflife/EntIndexToEntRef
and past...
Forum: Scripting 10-09-2021, 14:52
Replies: 3
Views: 350
Posted By Bacardi
Re: [CSGO] I canít block CSGO Events

events are messages, server is sending those to players.

And player own game is triggered by those, player game could play specific sound or print messages in they game.

Example if you pre hook...
Forum: General 10-09-2021, 11:14
Replies: 1
Views: 208
Posted By Bacardi
Re: Loading all plugins in optional folder

I tested with sub folders, ...plugins/test/abc and moved all SM plugin into last folder.
All plugins are loaded when server start.
sm plugins list
[SM] Listing 20 plugins:
01 "Admin File...
Forum: Plugin/Gameplay Ideas and Requests 10-09-2021, 10:57
Replies: 2
Views: 241
Posted By Bacardi
Re: Easily remove brush entities from map (like func_precipitation)?

sample
command sm_test

enum
{
PRECIPITATION_TYPE_RAIN = 0,
PRECIPITATION_TYPE_SNOW,
PRECIPITATION_TYPE_ASH,
PRECIPITATION_TYPE_SNOWFALL, // below are for csgo
...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:18.


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