Raised This Month: $48 Target: $400
 12% 

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: DJ Tsunami
Forum: SourceBans 01-24-2019, 06:11
Replies: 1
Views: 341
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: 801
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: 253,223
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: 15
Views: 846
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: 15
Views: 846
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,087
Views: 1,140,773
Posted By DJ Tsunami
Forum: Scripting 12-29-2018, 10:54
Replies: 2
Views: 402
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: 325
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: 443
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: 316
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: 55
Views: 15,477
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: 726
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: 395
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: 21
Views: 2,318
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?
Forum: General 09-07-2018, 17:03
Replies: 5
Views: 314
Posted By DJ Tsunami
Re: Can you add someone to multiple groups?

Yes, it's possible with SQL admins.
Forum: Extensions 08-28-2018, 05:00
Replies: 55
Views: 15,477
Posted By DJ Tsunami
Re: REST in Pawn - Communicate with JSON REST APIs

New release:

Possible fix for the crashes (thanks Peace-Maker)
Added ConnectTimeout, FollowLocation and Timeout properties to HTTPClient (thanks CrazyHackGUT)
Added error message to...
Forum: Plugins 08-18-2018, 13:00
Replies: 2,087
Views: 1,140,773
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

You probably have a typo in your advertisements.txt. We would need to see your full advertisements.txt to be able to point out the exact mistake.
Forum: Scripting 08-03-2018, 12:28
Replies: 10
Views: 399
Posted By DJ Tsunami
Re: SQL create column if not exists

You shouldn't dynamically create columns, that means your database design is wrong.

If you explain what kind of data you're trying to store, someone can probably give you the correct solution.
Forum: Scripting 07-26-2018, 08:33
Replies: 7
Views: 253
Posted By DJ Tsunami
Re: Help, KeysValues get key name

You can't get key names with KeyValues. You need to use SMCParser (https://sm.alliedmods.net/new-api/textparse/SMCParser), which fires an event for every key/value pair.

Or you can write the...
Forum: Scripting 07-02-2018, 08:45
Replies: 7
Views: 313
Posted By DJ Tsunami
Re: Help with KeyValues (I'm n00b)

You need to build the path to your .cfg file, and then import the file into your KeyValues object.

For example:

char path[PLATFORM_MAX_PATH];
BuildPath(Path_SM, path, sizeof(path),...
Forum: Scripting 07-01-2018, 10:55
Replies: 2
Views: 300
Posted By DJ Tsunami
Re: Creating callbacks in Sourcepawn

I believe you have to invoke the callback like so:

public void Save(ActionCallback callback) {
float test[2];

test[0] = 2.0;
test[1] = 1.0;

...
Forum: Scripting 06-24-2018, 17:52
Replies: 6
Views: 299
Posted By DJ Tsunami
Re: is this broken

It simply writes two tabs between the key and value. So if you have keys with different lengths, the values won't necessarily line up.
Forum: Scripting Help 06-24-2018, 04:09
Replies: 9
Views: 501
Posted By DJ Tsunami
Re: Undefined symbol "id"

Here's the code that he PM'ed me. Apparently he's new to coding.


public plugin_init()
{
register_plugin("blAck-pack", "1.0", "blAck.")

new flags = get_user_flags(id)

...
Forum: Scripting Help 06-23-2018, 09:44
Replies: 9
Views: 501
Posted By DJ Tsunami
Re: Undefined symbol "id"

You should create that variable and assign the client index. Since you only posted one line of code, I don't know where the client index is supposed to come from.
Forum: Scripting Help 06-23-2018, 09:31
Replies: 9
Views: 501
Posted By DJ Tsunami
Re: Undefined symbol "id"

Because the variable 'id' doesn't exist.
Showing results 1 to 25 of 500

 
Forum Jump

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


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