Raised This Month: $ Target: $400
 0% 

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: denriktiga
Forum: Scripting 01-21-2017, 18:16
Replies: 5
Views: 1,061
Posted By denriktiga
Re: Math on floats in array returns jibberish

Oh my, do I feel stuid!

Thank you!
Forum: Scripting 01-21-2017, 15:59
Replies: 5
Views: 1,061
Posted By denriktiga
Re: Math on floats in array returns jibberish

Thanks for fast reply! I changed it and at least got more consistent, but still not right.

new Float:ra[32];
new Float:re[32];
ra[0] = SQL_FetchFloat(hndl, 1);
...
Forum: Scripting 01-21-2017, 15:02
Replies: 5
Views: 1,061
Posted By denriktiga
Math on floats in array returns jibberish

Hi there!

So I'm fetching a float value from mysql and storing it in a public array:

static float:array_ra[32];
static float:array_re[32];

public arrayTest(Handle:owner, Handle:hndl, const...
Forum: Scripting Help 01-21-2017, 14:53
Replies: 2
Views: 683
Posted By denriktiga
Re: Math on floats in array returns jibberish

Whoops. Good point. I cant find how to delete/move thread though
Forum: Scripting Help 01-21-2017, 14:00
Replies: 2
Views: 683
Posted By denriktiga
Posted in wrong forum

Posted in wrong forum. Sorry!
Forum: General 10-04-2015, 11:20
Replies: 6
Views: 4,374
Posted By denriktiga
Re: MySQL - Invalid database Handle 0

You're right. The code was fine all along. The problem was that my sftp client did not always replace the .smx file.

Thanks though!
Forum: General 10-03-2015, 16:13
Replies: 6
Views: 4,374
Posted By denriktiga
Re: MySQL - Invalid database Handle 0

If I edit databases.conf to an invalid password for MySQL, SM reports "Database failure: [1045]: Access denied for user...", without calling it OnPluginStart. Same error happens (invalid handle) even...
Forum: General 10-03-2015, 15:53
Replies: 6
Views: 4,374
Posted By denriktiga
Forum: General 10-03-2015, 15:17
Replies: 6
Views: 4,374
Posted By denriktiga
MySQL - Invalid database Handle 0

Hey guys! I've just started with Sourcemod a few days ago and now I have problems with using MySQL. It differs alot from PHP.

I have been following this tutorial without any success:...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 20:45.


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