Raised This Month: $119 Target: $400
 29% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: DJ Tsunami
Forum: SourceBans / SourceBans++ Yesterday, 09:28
Replies: 2
Views: 92
Posted By DJ Tsunami
Re: Custom Admin Server Permissions

No, SourceMod does not support more flags. You should use overrides instead.
Forum: Scripting 11-20-2020, 05:42
Replies: 2
Views: 193
Posted By DJ Tsunami
Re: [TF2] Tag Mismatches when working with entities

The return type of your functions should be void and int.

void SetSpell2(int client, int spell, int uses)

int GetSpellBook(int client)
Action expects one of these return values:...
Forum: Scripting 11-19-2020, 12:22
Replies: 1
Views: 194
Posted By DJ Tsunami
Re: [CS:S] Display Menu at the end of round to all clients

You're closing the menu handle on round start, so naturally you can't use it anymore on round end.

The menu handle is also closed when the menu ends, so you would need to recreate the menu if you...
Forum: General 11-17-2020, 06:38
Replies: 2
Views: 247
Posted By DJ Tsunami
Re: Compile sp with multiple sp inside

https://wiki.alliedmods.net/Compiling_SourceMod_Plugins
Forum: Plugins 11-17-2020, 05:14
Replies: 2,160
Views: 1,339,571
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

Make sure you run the commands in the server console, not the client console. Check the error logs to see if you made any mistakes in your advertisements.txt. If you still can't get it to work, post...
Forum: General 11-15-2020, 10:25
Replies: 2
Views: 222
Posted By DJ Tsunami
Re: [SM] Admin: change to [SM] Admin's name

Look for sm_show_activity in cfg/sourcemod/sourcemod.cfg.
Forum: General 11-13-2020, 06:02
Replies: 2
Views: 210
Posted By DJ Tsunami
Re: SourceMod wrong TIME (Clock)

Look for sm_time_adjustment in cfg/sourcemod/sourcemod.cfg.
Forum: SourceBans / SourceBans++ 11-10-2020, 17:48
Replies: 1
Views: 267
Posted By DJ Tsunami
Re: Issues adding server to SourceBans

https://github.com/GameConnect/SourceBans/wiki/FAQ
Forum: Scripting 11-10-2020, 15:40
Replies: 3
Views: 342
Posted By DJ Tsunami
Re: Missing damagetype with OnTakeDamage/TraceAttack?!

You used the wrong hook type for OnTakeDamage. You also don't need to unhook when the client disconnects, SDK Hooks takes care of it.
Forum: Scripting 11-07-2020, 15:54
Replies: 3
Views: 322
Posted By DJ Tsunami
Re: Client not connected error: IsClientConnected() +> IsFakeClient()

Your code currently returns Plugin_Continue if the client is connected. You want to return Plugin_Continue if the client is NOT connected.
Forum: Extensions 11-06-2020, 05:27
Replies: 82
Views: 41,907
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2020/09/13)

I don't run any servers, so I don't know how it performs on a busy server, but I tested on a local server and was able to perform over 800 requests per second without noticing any performance issues....
Forum: Plugins 10-20-2020, 07:00
Replies: 2,160
Views: 1,339,571
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

New release (Download (https://github.com/ErikMinekus/sm-advertisements/releases/latest)):

Added convar for random advertisements.
Added {nextmap} variable with MapChooser support.
Fixed...
Forum: General 10-02-2020, 13:15
Replies: 2
Views: 378
Posted By DJ Tsunami
Re: sourcemod_mm.x64 ?

No, you need 64-bit SRCDS, which most games don't ship.
Forum: Scripting 09-26-2020, 08:08
Replies: 4
Views: 824
Posted By DJ Tsunami
Re: what is SetTransmit?

Returning Plugin_Handled will block the client from seeing the entity.
Forum: Scripting 09-25-2020, 08:27
Replies: 2
Views: 509
Posted By DJ Tsunami
Re: [CSGO] Finding alive players on a team

bool IsPlayerAliveOnTeam(int team)
{
for (int i = 1; i <= MaxClients; i++) {
if (IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == team) {
return true;
...
Forum: Scripting 09-21-2020, 16:45
Replies: 5
Views: 462
Posted By DJ Tsunami
Re: [HELP] EmitSoundToClient issue

Care to share the solution for other people?
Forum: Unapproved Plugins 09-15-2020, 11:11
Replies: 157
Views: 20,307
Posted By DJ Tsunami
Re: [CS:GO] Weapon Stickers (!stickers)

That's weird, I'll take a look.

Edit: can't reproduce it, quasemago's eItems version shouldn't even get to line 27.
Forum: Extensions 09-13-2020, 07:05
Replies: 82
Views: 41,907
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2020/07/16)

Minor update:

Added x64 and Mac builds
Added JSON decoding flags
Added ability to limit send and receive speed (thanks Kxnrl)
Set default user agent
Updated HTTPStatus enum
Updated...
Forum: Plugins 09-09-2020, 12:39
Replies: 2,160
Views: 1,339,571
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

Left 4 Dead 1 and 2 only support five chat colors: {default}, {teamcolor}, {green}, {lightgreen} and {yellow}.
Forum: General 09-04-2020, 17:10
Replies: 4
Views: 443
Posted By DJ Tsunami
Re: TF2 Unboxing Plugin?

Can you stop please asking questions in this forum? Use General.
Forum: General 09-02-2020, 08:06
Replies: 5
Views: 776
Posted By DJ Tsunami
Re: [CS:GO] Blocking auto mute offensive players on my server

As mentioned in another thread and on Discord:
sm_cvar sv_mute_players_with_social_penalties 0
Forum: Snippets and Tutorials 09-01-2020, 03:00
Replies: 1
Views: 1,113
Posted By DJ Tsunami
GraphQL API requests with REST in Pawn

If anyone is interested in making requests to a GraphQL API from a plugin, here is an example using REST in Pawn:


#include <sourcemod>
#include <ripext>

#pragma newdecls required
#pragma...
Forum: Scripting 08-26-2020, 06:31
Replies: 4
Views: 580
Posted By DJ Tsunami
Re: Stringify array?

The description is pretty clear.

So given "," as the join string, the result will be "Hello,there". You can then explode the string on "," to get the original array.

You have to pick a join...
Forum: Scripting 08-26-2020, 02:44
Replies: 2
Views: 406
Posted By DJ Tsunami
Re: How to fire an input on an entity that has a parameter?

Use one of the SetVariant functions before AcceptEntityInput.
Forum: Plugin/Gameplay Ideas and Requests 08-25-2020, 09:28
Replies: 3
Views: 273
Posted By DJ Tsunami
Re: How to detect damage or a bullet missed

if (damage == 0.0)
Although I'm not sure how OnTakeDamage would fire if the damage is 0.
Showing results 1 to 25 of 500

 
Forum Jump

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


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