Raised This Month: $4 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Plugins 12-03-2020, 15:46
Replies: 2,166
Views: 1,342,911
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

The chat colors have to be lowercase now. I've only had one other person complain about it, so I haven't bothered to fix it.
Forum: Plugins 12-03-2020, 13:53
Replies: 2,166
Views: 1,342,911
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

Which game? And these are colors in chat messages?
Forum: SourceBans / SourceBans++ 11-22-2020, 09:28
Replies: 2
Views: 254
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: 321
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: 325
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: 384
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,166
Views: 1,342,911
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: 329
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: 294
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: 431
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: 399
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: 363
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: 84
Views: 42,942
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,166
Views: 1,342,911
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: 380
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: 852
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: 511
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: 464
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: 162
Views: 22,425
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: 84
Views: 42,942
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,166
Views: 1,342,911
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: 453
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: 788
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,255
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: 582
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...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 13:31.


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