Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: gromit190
Forum: Scripting 11-25-2022, 05:58
Replies: 1
Views: 397
Posted By gromit190
Prepared insert statement doesn't work: false syntax error?

Hello,

I am trying to use a prepared insert statement.

But when doing SQL_PrepareQuery, it returns null and the error I get is this:

ERROR: syntax error at or near ","
LINE 1: insert into...
Forum: Scripting 11-24-2022, 15:00
Replies: 2
Views: 868
Posted By gromit190
Database.Connect callback is not invoked until i unload plugin?

Hello,

I am following the example from the docs:

Database hDatabase = null;

void StartSQL()
{
Database.Connect(GotDatabase);
}
Forum: Scripting 11-24-2022, 13:18
Replies: 0
Views: 345
Posted By gromit190
(SOLVED: pgsql) Postgres driver name?

Hello,

Regarding the database config in configs/databases.cfg.

Is postgres supported? I found a PR from a couple of years ago where someone added it, but what "driver" do I need to use for...
Forum: Scripting 09-02-2021, 08:29
Replies: 9
Views: 2,473
Posted By gromit190
Re: What exactly is the "user id"

Okay then I think I understood it. Thanks!
Forum: Scripting 09-02-2021, 08:20
Replies: 9
Views: 2,473
Posted By gromit190
Re: What exactly is the "user id"

Okay. Whats the difference between client index and user id?

When the first client joins the server. His user id will be 1. And his client index will also be 1 (the first client)?
Then what is...
Forum: Scripting 09-02-2021, 07:52
Replies: 9
Views: 2,473
Posted By gromit190
What exactly is the "user id"

I am a little confused about the term "user id".


The GetClientUserId function is described like this:

"Retrieves a client's user id, which is an index incremented for every client that joins...
Forum: Scripting 08-30-2021, 09:22
Replies: 4
Views: 1,796
Posted By gromit190
Forum: Scripting 08-27-2021, 08:57
Replies: 4
Views: 1,796
Posted By gromit190
When should I be using "delete" on variables?

The wiki page about Handles clearly say that all handles should (must) be closed after use, as they reserve memory which should be freed. That's good to know.

But is this the only use for the...
Forum: Source Servers (SRCDS) 08-15-2021, 07:21
Replies: 0
Views: 750
Posted By gromit190
SRCDS doesn't automatically download workshop maps

I have a dedicated server hosted on my linux server computer. It's been working great for years.

For modding purposes, I wanted to set up a dedicated server on my windows pc. I want the server to...
Forum: Scripting 06-12-2019, 02:53
Replies: 5
Views: 1,998
Posted By gromit190
Forum: Scripting 06-11-2019, 08:29
Replies: 5
Views: 1,998
Posted By gromit190
Re: Variables can be declared in multiple ways, but what's the difference?

I see, thanks!


I still don't quite see when a variable just reserves some memory, and when it actually clears that memory.


Say I wanted to declare a variable, but I don't want to use any...
Forum: Scripting 06-11-2019, 07:59
Replies: 5
Views: 1,998
Posted By gromit190
Variables can be declared in multiple ways, but what's the difference?

Hi,


I'm a little bit confused about how a variable is declared and instantiated.

From what I understand, variables can be declared in 3 different ways (example using a StringMap variable):
...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -4. The time now is 18:47.


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