Raised This Month: $276 Target: $400
 69% 

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Scripting Yesterday, 07:08
Replies: 1
Views: 104
Posted By DJ Tsunami
Re: what is SetTransmit?

Returning Plugin_Handled will block the client from seeing the entity.
Forum: Scripting 09-25-2020, 07:27
Replies: 2
Views: 162
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, 15:45
Replies: 5
Views: 163
Posted By DJ Tsunami
Re: [HELP] EmitSoundToClient issue

Care to share the solution for other people?
Forum: Unapproved Plugins 09-15-2020, 10:11
Replies: 142
Views: 12,530
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, 06:05
Replies: 79
Views: 38,728
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, 11:39
Replies: 2,151
Views: 1,322,510
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, 16:10
Replies: 4
Views: 318
Posted By DJ Tsunami
Re: TF2 Unboxing Plugin?

Can you stop please asking questions in this forum? Use General.
Forum: General 09-02-2020, 07:06
Replies: 5
Views: 726
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, 02:00
Replies: 1
Views: 478
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, 05:31
Replies: 4
Views: 529
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, 01:44
Replies: 2
Views: 371
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, 08:28
Replies: 3
Views: 247
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.
Forum: Plugin/Gameplay Ideas and Requests 08-25-2020, 01:45
Replies: 2
Views: 283
Posted By DJ Tsunami
Re: Help needed with SQLMatches

What issues are you having?
Forum: Scripting 08-24-2020, 06:51
Replies: 2
Views: 344
Posted By DJ Tsunami
Re: [HELP]Exception reported: Entity 1 (1) is invalid

m_iDeflected is a plain integer, not an entity index, so use SetEntProp instead of SetEntPropEnt.
Forum: Scripting 08-24-2020, 04:32
Replies: 4
Views: 529
Posted By DJ Tsunami
Re: Stringify array?

If it's an array of strings: https://sourcemod.dev/#/string/function.ImplodeStrings
Forum: Scripting 08-22-2020, 09:32
Replies: 2
Views: 438
Posted By DJ Tsunami
Re: Redirect chat message to yourself

You need to pass the client index for %N:

PrintToChat(client, "%N: TEST %s", client, sArgs);

Also GetClientAuthString has been deprecated, use GetClientAuthId.
Forum: Plugins 08-18-2020, 09:58
Replies: 2,151
Views: 1,322,510
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

Yes, I don't know what those ***** are doing there. You also have a closing curly brace on line 3, which breaks everything after it anyway.
Forum: Plugins 08-16-2020, 14:05
Replies: 2,151
Views: 1,322,510
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

The issue is probably in an earlier part of the config, which causes later parts to break. For example a missing curly brace or quote, or an unescaped quote inside a key or value.

I would need to...
Forum: Plugins 08-16-2020, 07:57
Replies: 5
Views: 1,874
Posted By DJ Tsunami
Re: [CS:GO] Exploding grenades (dropped ones)

Update to the latest SourceMod build (https://sourcemod.net/downloads.php?branch=stable).
Forum: General 08-09-2020, 03:35
Replies: 4
Views: 512
Posted By DJ Tsunami
Re: [CSGO] Error Log

Replace FormatEx with g_hDB.Format on this line:
FormatEx(sQuery, sizeof(sQuery), "INSERT INTO `%s` (`Auth`, `Ip`, `Time`, `Type`, `Name`, `Timestamp`, `Reason`, `AdminAuth`, `AdminName`) VALUES...
Forum: Scripting 07-30-2020, 11:20
Replies: 2
Views: 469
Posted By DJ Tsunami
Re: [CS:GO] Problem with War3Source Mod (WC3)

If sm version still says 6490, the update failed. Make sure the server is completely stopped and that you update all the .so/.dll files, as explained on...
Forum: Plugins 07-26-2020, 08:28
Replies: 2,151
Views: 1,322,510
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

I can't reproduce it, but can you try the attached plugin? I think it should fix the issue regardless.

Edit: attachment removed, see latest release...
Forum: Scripting 07-26-2020, 07:10
Replies: 2
Views: 404
Posted By DJ Tsunami
Re: Lasermine kill event not working anymore

Make sure you update to SourceMod 1.10.0.6492 or 1.11.0.6603, which fixes OnTakeDamage after the last CS:GO update.
Forum: Plugins 07-24-2020, 05:12
Replies: 2,151
Views: 1,322,510
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

[/QUOTE]
What game? Does it happen when the server starts, when the map changes, or when you manually change sm_advertisements_interval?
Forum: Extensions 07-23-2020, 01:52
Replies: 79
Views: 38,728
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2020/07/16)

You can pass a DataPack as value with any data you want.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 21:57.


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