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

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: xd346
Forum: Scripting Help 01-29-2021, 17:52
Replies: 7
Views: 730
Posted By xd346
Re: Enum arrays inside of an enum

Seems like this works:

enum _:EnumA
{
Item1a,
EnumB:Item2a[10]
}

enum _:EnumB
{
Forum: Scripting Help 01-29-2021, 17:43
Replies: 7
Views: 730
Posted By xd346
Re: Enum arrays inside of an enum

Basically I want to have a class enum with some class data like its name. Each class can be leveled up so I wanted to make it so the class enum has an array of a class level enum which contains the...
Forum: Scripting Help 01-29-2021, 17:33
Replies: 7
Views: 730
Posted By xd346
Re: Enum arrays inside of an enum

Yeah i get ERROR [7]: expected token: "}", but found "[" on line Item2a[10][EnumB]
Forum: Scripting Help 01-29-2021, 16:48
Replies: 7
Views: 730
Posted By xd346
Re: Enum arrays inside of an enum

Something like this i guess


enum _:EnumA
{
Item1a,
Item2a[10][EnumB]
}

enum _:EnumB
Forum: Scripting Help 01-29-2021, 16:35
Replies: 7
Views: 730
Posted By xd346
Enum arrays inside of an enum

Is it possible to have an array of enum A inside of enum B?
Forum: Scripting Help 07-13-2020, 11:19
Replies: 2
Views: 553
Posted By xd346
Re: Help with Addtofullpack

Thanks, I'll check it out.
Forum: Scripting Help 07-12-2020, 15:36
Replies: 2
Views: 553
Posted By xd346
Help with Addtofullpack

I want to make an entity visible only to one player. I found out that I need to use addtofullpack, but i don't understand how it works. I would appreciate if someone has a good example on how to use...
Forum: Scripting Help 10-12-2019, 05:49
Replies: 1
Views: 638
Posted By xd346
Forum: Scripting Help 09-08-2019, 13:37
Replies: 26
Views: 4,085
Posted By xd346
Forum: Scripting Help 08-27-2019, 13:57
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Can you explain how to fix these issues please. Everything is hosted localy.
Forum: Scripting Help 08-27-2019, 13:19
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

public plugin_init()
{
register_plugin("Database Data","1.0","")
register_clcmd("say steamid","plugintriggertest");
RegisterHam(Ham_Killed, "player", "fwdPlayerDeath", 0);

...
Forum: Scripting Help 08-27-2019, 12:26
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

It has an empty table called test.
Forum: Scripting Help 08-27-2019, 11:52
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

I have a esf_data.sq3 file in there.
Forum: Scripting Help 08-27-2019, 11:09
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Both mysql and sqlite are enabled in modules.ini if that's what you're referring to.
Forum: Scripting Help 08-27-2019, 09:41
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Must be something wrong with the connection somehow cause it gives me the same error with incorrect info.
Forum: Scripting Help 08-27-2019, 09:03
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

It just prints my steam id.



Added a space before VALUES, still getting the same error.
Forum: Scripting Help 08-27-2019, 07:20
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Corrected it. Still the same error:


L 08/27/2019 - 13:18:54: [MySQL] Invalid info tuple handle: 0
L 08/27/2019 - 13:18:54: [AMXX] Displaying debug trace (plugin "DBContentSQLX.amxx")
L...
Forum: Scripting Help 08-27-2019, 06:36
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Here you go

#include <amxmodx>
#include <sqlx>
#include <ipci\ascend>
#include <esf_util>
#include <fun>
#include <fakemeta>
#include <fakemeta_const>
#include <hamsandwich>
Forum: Scripting Help 08-27-2019, 04:33
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

How can I check? I'm using the correct hostname,username,password and database, wamp is running.

After following the guide Airkish left I get this error:


L 08/27/2019 - 10:23:43: [MySQL]...
Forum: Scripting Help 08-26-2019, 16:09
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

This is my first time using sql with amxx so I didn't know if i needed to include it or not.

What do you mean by Affinity type, data type stored in the database?
SteamID, Username and Character_1...
Forum: Scripting Help 08-26-2019, 15:48
Replies: 26
Views: 4,085
Posted By xd346
Re: Need help with sql and amxx.

Thanks for the reply, I've tried rewriting it and still get the same error.

Code:

#include <amxmodx>
#include <sqlx>
#include <amxx\amxmod_compat\mysql>
#include <esf>
#include...
Forum: Scripting Help 08-26-2019, 15:12
Replies: 26
Views: 4,085
Posted By xd346
Need help with sql and amxx.

Hi, I want to make a plugin that will store data in a database I made using phpMyAdmin. I'm also using wamp.
I've been using this guide https://wiki.alliedmods.net/Advanced_Scripting_(AMX_Mod_X).
...
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT -4. The time now is 17:24.


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