Raised This Month: $95 Target: $400
 23% 

Showing results 1 to 25 of 500
Search took 0.37 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Scripting 11-12-2019, 15:50
Replies: 2
Views: 179
Posted By DJ Tsunami
Re: sm_datamaps_dump sm_netprops_dump are not working.

It's sm_dump_datamaps, not sm_datamaps_dump.
Forum: Scripting 11-10-2019, 10:34
Replies: 2
Views: 215
Posted By DJ Tsunami
Re: How to get player I am pointing at?

GetClientAimTarget (https://sm.alliedmods.net/new-api/sdktools_functions/GetClientAimTarget)
Forum: Scripting 11-05-2019, 14:58
Replies: 15
Views: 801
Posted By DJ Tsunami
Re: Passing CTakeDamageInfo to an SDKCall?

It's unclear from your first post what you are actually trying to do. If you're trying to inflict damage, what are you expecting the call to return?

Either way, the custom CTakeDamageInfo object...
Forum: Scripting 11-05-2019, 04:30
Replies: 15
Views: 801
Posted By DJ Tsunami
Re: Passing CTakeDamageInfo to an SDKCall?

Can't you just use SDKHooks_TakeDamage (https://sm.alliedmods.net/new-api/sdkhooks/SDKHooks_TakeDamage)? It uses a custom CTakeDamageInfo object to inflict damage.
Forum: Scripting 10-29-2019, 10:16
Replies: 3
Views: 252
Posted By DJ Tsunami
Re: [TF2] Best way to detect whether player is invulnerable-ubered?

The conditions are a netprop, so you can use TF2_IsPlayerInCondition(client, TFCond_Ubercharged).
Forum: Scripting 10-21-2019, 07:58
Replies: 3
Views: 249
Posted By DJ Tsunami
Re: How to acquire a game's Linux server binary without any Linux machines/VMs?

Install a Linux VM? VirtualBox and Ubuntu are free.
Forum: Extensions 10-18-2019, 15:50
Replies: 10
Views: 1,041
Posted By DJ Tsunami
Re: Need some basic help with extensions

So you would call FireChatEvent inside that function.
Forum: Scripting 09-30-2019, 02:32
Replies: 1
Views: 567
Posted By DJ Tsunami
Re: Does kicking a Client twice cause an Warning?

Yes, kicking a client twice causes a warning. But BanIdentity does not kick the client, so there's no problem calling KickClient after BanIdentity.
Forum: SourceBans / SourceBans++ 09-29-2019, 11:09
Replies: 15
Views: 1,202
Posted By DJ Tsunami
Re: [Help] SourceBans++ compiling error

You're getting these errors because you're using variables that don't exist. Like on line 1193 and 1194:

ConsoleInfoPrint(client, admin, reason, time, auth, ip);
KickClient(client, "Banned by...
Forum: Scripting 07-28-2019, 18:21
Replies: 13
Views: 1,102
Posted By DJ Tsunami
Re: Player data in not inserting into DB Corectly

There is a backtick between INTO and panel that doesn't belong there.
Forum: General 04-29-2019, 05:47
Replies: 4
Views: 567
Posted By DJ Tsunami
Re: [Help] Server info not showing

Are you sure your webhost has allowed incoming UDP traffic on port 27016?

https://github.com/GameConnect/SourceBans/wiki/FAQ#which-ports-does-the-sourcebans-web-panel-require-to-be-open
Forum: SourceBans / SourceBans++ 01-24-2019, 06:11
Replies: 1
Views: 964
Posted By DJ Tsunami
Re: Table doesnt exist error

Open addons/sourcemod/configs/sourcebans/sourcebans.cfg and make sure DatabasePrefix is set to just "servername".
Forum: Scripting 01-18-2019, 10:40
Replies: 2
Views: 900
Posted By DJ Tsunami
Re: [REQ]MD5 hash salt help!

sPassword1.dewfrtYuzKgfwqr is not valid SourcePawn. Use StrCat (https://sm.alliedmods.net/new-api/string/StrCat) if you want to concatenate strings.
Forum: Snippets and Tutorials 01-12-2019, 11:24
Replies: 470
Views: 271,965
Posted By DJ Tsunami
Re: [INC] More Colors (1.9.1)

There's a " missing at the end of this line:
"ScoreTag" "[КМД]
Forum: Scripting 01-05-2019, 15:20
Replies: 18
Views: 1,411
Posted By DJ Tsunami
Re: Best way of using or statments

That's what that code does. Each condition is true when the client does not have the license. So if they do have the CS:GO Full Edition, it will not check for Prime.
Forum: Scripting 01-05-2019, 14:08
Replies: 18
Views: 1,411
Posted By DJ Tsunami
Re: Best way of using or statments

Sounds like you want to kick people if they don't have the CS:GO Full Edition AND they didn't buy Prime either:

if (k_EUserHasLicenseResultDoesNotHaveLicense == SteamWorks_HasLicenseForApp(client,...
Forum: Plugins 01-04-2019, 19:20
Replies: 2,100
Views: 1,223,269
Posted By DJ Tsunami
Forum: Scripting 12-29-2018, 10:54
Replies: 2
Views: 500
Posted By DJ Tsunami
Re: Database tabels are not created

Remove the quotes around your column names.
Forum: Scripting 12-25-2018, 08:35
Replies: 2
Views: 418
Posted By DJ Tsunami
Re: To add server port number to log file name

You need to use %d (or %i) in the format string for the port number.
Forum: Scripting 12-07-2018, 06:44
Replies: 2
Views: 555
Posted By DJ Tsunami
Re: Possible, memory leak in DataPack

CreateDataTimer initializes the DataPack for you (https://github.com/alliedmodders/sourcemod/blob/master/plugins/include/timers.inc#L206). So this:

DataPack pack = new DataPack();

should be:
...
Forum: General 11-23-2018, 09:22
Replies: 6
Views: 466
Posted By DJ Tsunami
Re: sm_rehash wipes admins.cfg

You can disable this by setting BackupConfigs to "0" in configs/sourcebans/sourcebans.cfg.
Forum: Extensions 11-22-2018, 12:00
Replies: 58
Views: 21,884
Posted By DJ Tsunami
Re: REST in Pawn - Communicate with JSON REST APIs

Thanks slekenda, this should be fixed in 1.0.6 (https://github.com/ErikMinekus/sm-ripext/releases/latest).
Forum: Scripting 10-25-2018, 12:00
Replies: 20
Views: 1,162
Posted By DJ Tsunami
Re: How to set SDKHook on round_start correctly?

Doesn't L4D only have like 8 players? Seems like this should suffice:


public void OnClientPutInServer(int client)
{
SDKHook(client, SDKHook_OnTakeDamage, OnTakeDamage);
}

public Action...
Forum: Scripting 09-30-2018, 11:30
Replies: 7
Views: 559
Posted By DJ Tsunami
Re: Making a non interactive panel

Seems like you could replace that entire switch statement with:

ShowSpecMenu(param1);
ClientCommand(param1, "slot%d", param2);
Forum: Snippets and Tutorials 09-22-2018, 05:18
Replies: 22
Views: 3,473
Posted By DJ Tsunami
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)

Why not just contribute to https://github.com/Dillonb/SublimeSourcePawn instead of making a new package?
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 01:08.


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