Raised This Month: $ Target: $400
 0% 

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: XmasterOfficial
Forum: Scripting Help 12-30-2015, 03:39
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

I understand what you are saying but I use this database just for licenses and I don't store something else in it. Maybe if I did this with a bigger database then yes.
Forum: Scripting Help 12-29-2015, 23:59
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

Well you Insert it. On the Insert tab on phpmyadmin and you put 1 in the Value field. It doesn't matter what value does have the column. It matters what Name does the column have since I am looking...
Forum: Scripting Help 12-29-2015, 21:29
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

Because is easy for me in this way since I will use phpmyadmin to add all server IPs. So to add a column you just type the server IP and hit the Go button (it doesn't matter if is an INT or VARCHAR)...
Forum: Scripting Help 12-29-2015, 13:51
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

Because the way you did it doesn't help me. I need it to find if the server IP from get_user_ip 0 is the same as one of the IP-s from table Licenses. So in the table Licenses there would be like 5...
Forum: Scripting Help 12-29-2015, 02:26
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

I did this: #include <amxmodx>
#include <sqlx>

new const Version[] = "0.1"
new const szHost[] = "host"
new const szUser[] = "user"
new const szPass[] = "pass"
new const szDB[] =...
Forum: Scripting Help 12-28-2015, 21:00
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

Well... For me, the local IP is actualy the real IP since the server is hosted so get_user_ip( 0 , string[] , size ) is working well for me. I did this: #include <amxmodx>
#include <sqlx>

new...
Forum: Scripting Help 12-27-2015, 17:44
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

This is the database. Is just for test. There would be only IPs in that table.
postimg . org/image/xr7zxuqbt/6d5156f3/

I set a variable "unlicensed = 1" at the beginning so the plugin will check...
Forum: Scripting Help 12-23-2015, 16:32
Replies: 18
Views: 3,237
Posted By XmasterOfficial
Re: SQL Get column as cvar.

Ok but I am still interested on what's wrong with my script since I tried I think more than 12 hours finding a result...
Edit: I was thinking and I want to explain what exactly I want to do. The...
Forum: Scripting Help 12-23-2015, 03:43
Replies: 18
Views: 3,237
Posted By XmasterOfficial
SQL Get column as cvar.

So I tryed for like one day and one night without figuring this how it works: public MySql_Init()
{
g_SqlTuple = SQL_MakeDbTuple(Host,User,Pass,Db)
new ErrorCode,Handle:g_SqlConnection =...
Forum: Plugin/Gameplay Ideas and Requests 10-27-2014, 16:57
Replies: 4
Views: 987
Posted By XmasterOfficial
Re: [REQ] Team Limit for War server.

I did something:
#include <amxmodx>
#include <cstrike>

static const
PLUGIN[] = "Team Limiter",
VERSION[] = "1.0",
AUTHOR[] = "Terorist_CS";

public plugin_init() {
Forum: Plugin/Gameplay Ideas and Requests 10-27-2014, 13:36
Replies: 4
Views: 987
Posted By XmasterOfficial
Forum: Plugin/Gameplay Ideas and Requests 10-26-2014, 08:58
Replies: 4
Views: 987
Posted By XmasterOfficial
Re: [REQ] Team Limit for War server.

So far i tryed this:
/* Mod Template generated by Pawn Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define...
Forum: Plugin/Gameplay Ideas and Requests 10-26-2014, 07:02
Replies: 4
Views: 987
Posted By XmasterOfficial
Re: [REQ] Team Limit for War server.

Bump. Sooo... is somebody who knows how to do this?
Forum: Plugin/Gameplay Ideas and Requests 10-25-2014, 17:20
Replies: 4
Views: 987
Posted By XmasterOfficial
[REQ] Team Limit for War server.

Hello. As I said in the title, I need a plugin to limit teams to 5 players CT and T. I made an war plugin but this is the last piece that I need. I just need a simple one. I want to be automatically...
Showing results 1 to 14 of 14

 
Forum Jump

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


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