Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 117
Search took 0.01 seconds.
Search: Posts Made By: Mr.Waffle
Forum: Scripting Help 01-09-2013, 18:59
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

omg i forgot, its working good right now.
again thanks u !:D
Forum: Scripting Help 01-09-2013, 18:49
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

YamiKaitou (https://forums.alliedmods.net/member.php?u=10422) idid what u said and its not executes correctly, and when im run the result manually its works good.
so idont see any wrong ..

ok ,...
Forum: Scripting Help 01-09-2013, 17:46
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

i have another problem, I tried to use loops inside register_client func.


new szQuery[2048], temp[64];
// log_to_file(LOGFILE1, "INSERT INTO `achievements` (`steamid` , `name`,")...
Forum: Scripting Help 01-09-2013, 13:57
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

ok so its solved thanks u both guys.
Forum: Scripting Help 01-09-2013, 13:50
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

works thanks :D , i got one more question.
func mysql_init called evrey time i changed map so the question is when i will change map the columns will not reset ? or will reopen?
Forum: Scripting Help 01-09-2013, 13:22
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

changed, and same problem .

public MySql_Init()
{
// we tell the API that this is the information we want to connect to,
// just not yet. basically it's like storing it in global...
Forum: Scripting Help 01-09-2013, 13:08
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

new const szColumns[][]=
{
"column1",
"column2",
"column3",
"column4",
"column5",
"column6",
"column7",
"column8",
Forum: Scripting Help 01-09-2013, 12:36
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

not working, there is eror in the logs :
in this line :

formatex(temp, charsmax(temp), "`%s` SMALLINT(1)%s", szColumns[i], (++i < iColumns) ? ", " : ")");
Forum: Scripting Help 01-09-2013, 12:11
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

i did but I understood you wrong, You can give an example please.



i think its will be bugged cuz if i change map this funcc will called and its wil open another column
or reset them.
Forum: Scripting Help 01-09-2013, 11:21
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

somting like this : ?

new const tablenames[] =
{
"column1",
"column2",
"column3",
"column4",
"column5",
"column6",
Forum: Scripting Help 01-09-2013, 10:25
Replies: 24
Views: 4,001
Posted By Mr.Waffle
Re: SQL column.

OK, maybe there is another way to do it ? cuz i need to open like 30 column , and its really bad to write them 1 by one 1.
Forum: Scripting Help 01-09-2013, 09:36
Replies: 24
Views: 4,001
Posted By Mr.Waffle
SQL column.

hello evreyone,

this code is open the table "psher" and 9 Columns.

Queries = SQL_PrepareQuery(SqlConnection,"CREATE TABLE IF NOT EXISTS psher( steamid varchar(32), name varchar(32), column1...
Forum: Suggestions / Requests 01-07-2013, 18:31
Replies: 7
Views: 1,219
Posted By Mr.Waffle
Re: Sqlx

yup Cknife is correctly :

new CKnife[ 33]

register_event( "DeathMsg", "Hook_Deathmessage", "a" );

public Hook_Deathmessage()
{
new killer = read_data( 1 );
new victim = read_data(...
Forum: Suggestions / Requests 01-07-2013, 18:22
Replies: 7
Views: 1,219
Posted By Mr.Waffle
Re: Sqlx

i found another problem, the "wins" in the database is have the same problem.

my friend connected to my server (First time hes playing in my server) and the variable was equal to 0(whitch is good)...
Forum: Suggestions / Requests 01-07-2013, 13:30
Replies: 7
Views: 1,219
Posted By Mr.Waffle
Re: Sqlx

thanks man its working good,
maybe can u help me also here ? https://forums.alliedmods.net/showthread.php?t=204718 thanks.
Forum: Suggestions / Requests 01-07-2013, 12:11
Replies: 7
Views: 1,219
Posted By Mr.Waffle
Re: Sqlx

you mean like this? :

public client_infochanged(id)
{
new szOldName[34], szNewName[32], szTemp[512], szSteamid[35]
get_user_authid(id, szSteamid, 34)
get_user_name(id, szOldName,...
Forum: Suggestions / Requests 01-07-2013, 10:02
Replies: 7
Views: 1,219
Posted By Mr.Waffle
Sqlx

hello evreyone,
Lately I started using sqlx, And I have a problem.

its how i save:

new Host[] = "myhost"
new User[] = "myuser"
new Pass[] = "mypass"
new Db[] = "mydb"
Forum: Suggestions / Requests 01-03-2013, 05:44
Replies: 2
Views: 1,084
Posted By Mr.Waffle
Re: MySQL Array Save/Load.

i dont get it .. What is the difference.
can u explain what u did in your code.
what is this part in your code :

}else{
new hoaxer[256],skills[23][5]
...
Forum: Suggestions / Requests 01-02-2013, 18:20
Replies: 2
Views: 1,084
Posted By Mr.Waffle
MySQL Array Save/Load.

hello,
I'm trying to save array with mysql, i checked plugin to know how to do that.
and i i checked the achievements 5.0 to see how hes doing it and i saw :


enum _:Achieves // Define the...
Forum: Scripting Help 12-29-2012, 18:07
Replies: 12
Views: 2,366
Posted By Mr.Waffle
Re: Sqlx problem.

i think i sould use localhost becuze when i opened the db its said "host : localhost."
but there is a same problem .
maybe the problem is what wickedd...
Forum: Scripting Help 12-29-2012, 13:13
Replies: 12
Views: 2,366
Posted By Mr.Waffle
Re: Sqlx problem.

thanks, can u give me a paid hosting ? that ur Recommend ..
cuz i dont wanna buy one with the same problem.
thanks.
Forum: Scripting Help 12-29-2012, 12:04
Replies: 12
Views: 2,366
Posted By Mr.Waffle
Re: Sqlx problem.

yes im using free web hosting, so this is the problem ? /=
Forum: Scripting Help 12-29-2012, 11:50
Replies: 12
Views: 2,366
Posted By Mr.Waffle
Sqlx problem.

hello everyone,

I'm trying to learn how to connect the plugin to DB SQL ,
i opend new db
and i use this plugin:

#include <amxmodx>
#include <sqlx>

#define PLUGIN "Tutorial"
Forum: New Plugin Submissions 12-29-2012, 05:14
Replies: 111
Views: 61,248
Posted By Mr.Waffle
Re: Played Time: Extended v0.1

i need to open the tables by myself ? or its open auto ?
i dont know how to use sql .. somone can help me ?
Forum: Scripting Help 12-24-2012, 00:35
Replies: 5
Views: 1,066
Posted By Mr.Waffle
Re: easy way ?

o.O ofc im . im comparing them to zero .
after i changed there Value.
Showing results 1 to 25 of 117

 
Forum Jump

All times are GMT -4. The time now is 15:42.


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