Raised This Month: $222 Target: $400
 55% 

Showing results 1 to 25 of 228
Search took 0.01 seconds.
Search: Posts Made By: lexzor
Forum: Scripting Help Today, 11:26
Replies: 8
Views: 165
Posted By lexzor
Re: CURL Help

I m trying to make an auto updater using curl. I want to check the version from a .txt file and if is not the same with plugin verison then download the plugin from webhost.

The problem with the...
Forum: Suggestions / Requests Today, 11:01
Replies: 0
Views: 21
Posted By lexzor
Advanced Bans SQL by exolent

hello. i have ab by exolent. i tried to add 1 more column in the table, but it seems like there are some message that are spamming in chat every time when the plugin check to unban players.

photo:...
Forum: Scripting Help Yesterday, 06:29
Replies: 8
Views: 165
Posted By lexzor
Re: CURL Help

Every time i get another output, but in console because i can t write the file.


#include <amxmodx>
#include <curl>

#define CURL_BUFFER_SIZE 4096

public plugin_init()
{
Forum: Scripting Help 05-11-2021, 11:43
Replies: 8
Views: 165
Posted By lexzor
Re: CURL Help

I don't understand a shit, i need smth like a tutorial, but i m giving up.

thanks 4 ur help
Forum: Scripting Help 05-11-2021, 11:00
Replies: 8
Views: 165
Posted By lexzor
CURL Help

hello. I'm trying to make an autoupdater for a plugin with curl, but i don t get how to use it. I was looking up on Bugsy's vacbans when i realized that i don't understand a single thing of that...
Forum: Scripting Help 05-11-2021, 10:17
Replies: 3
Views: 113
Posted By lexzor
Re: HTTP:X Problem

I will use cURL. Thanks.
Forum: Scripting Help 05-10-2021, 14:40
Replies: 3
Views: 113
Posted By lexzor
HTTP:X Problem

Hello. I'm trying to use HTTP:X by Black Rose, but the plugin is updating only when i upload the plugin. I tried to debug it but at the second change map the plugin is not updating:

Code:
...
Forum: New Plugin Submissions 05-10-2021, 13:34
Replies: 38
Views: 13,830
Posted By lexzor
Re: HTTP:X

the plugin is updating only when i upload it. i did a debug but didn t even read the version of plugin

#include <amxmodx>

enum {
REQUEST_GET,
REQUEST_POST
}

native...
Forum: Scripting Help 05-09-2021, 16:36
Replies: 5
Solved team score
Views: 101
Posted By lexzor
Re: team score

User sv_restart or create a loop that set players score. Example of loop

for(new i; i < iNum; i++)
{
iPlayer = iPlayer[i]

if(is_user_connected(iPlayer))
{
set_user_frags(iPlayer, 0)...
Forum: Scripting Help 05-09-2021, 14:18
Replies: 2
Solved stack error
Views: 71
Posted By lexzor
Re: stack error

Oh, thanks, i didn't know that! Solved.

Also, thank you for your reading files method from mvp plugin.
Forum: Scripting Help 05-09-2021, 12:17
Replies: 2
Solved stack error
Views: 71
Posted By lexzor
stack error

hello. i Have this code:


#define MAX_SKINS 9

enum _:TERO
{
szTModelName[256],
szTModelLocation[256],
szTModelPreview[256],
Forum: Scripting Help 05-09-2021, 12:13
Replies: 8
Views: 184
Posted By lexzor
Re: query question

I used DeathMsg to store their data.
Thanks.
Forum: Scripting Help 05-08-2021, 13:27
Replies: 8
Views: 184
Posted By lexzor
Re: query question

ok i found the problem: i use this function in client_disconnected and the function can't take users frags and deaths because he disconnected. is there any solution to create a prethink of...
Forum: Scripting Help 05-08-2021, 12:23
Replies: 8
Views: 184
Posted By lexzor
Re: query question

none of them worked, but somehow works with numbers (15, 5 or what ever), but don't work with %i

maybe there isn t enough time for native get_user_frags/get_user_deaths to stock the data into...
Forum: Scripting Help 05-07-2021, 21:04
Replies: 8
Views: 184
Posted By lexzor
query question

Hello again. Sorry for spaming with posts.

I have this query:

formatex(szQuery, charsmax(szQuery), "UPDATE `%s` SET `frags` = '15' , `deaths` = '5' , `headshots` = '8' , `score` = '4' ,...
Forum: Scripting Help 05-07-2021, 15:48
Replies: 5
Views: 128
Posted By lexzor
Re: str_to_num question

in that case, what is better to use ?

if i use %i for number 35 will print just 3 or 5 ?
Forum: Scripting Help 05-07-2021, 14:20
Replies: 5
Views: 128
Posted By lexzor
str_to_num question

hello. i have this code


replace_all(szTemp[id], charsmax(szTemp[]), ":", " ")
parse(szTemp[id], szHoursTemp[id], charsmax(szHoursTemp[]), szMinutesTemp[id], charsmax(szMinutesTemp[]),...
Forum: Scripting Help 05-06-2021, 12:12
Replies: 2
Views: 140
Posted By lexzor
Re: [SQLx]Thread worked was unable to start

public client_putinserver(id)
{
if (is_user_bot(id) || is_user_hltv(id) || !is_user_connected(id))
return

g_iPlayedTime[id][Seconds] = 0
g_iPlayedTime[id][Minutes] = 0...
Forum: Scripting Help 05-06-2021, 10:14
Replies: 2
Views: 140
Posted By lexzor
[SQLx]Thread worked was unable to start

hello
how can i get rid of this error ?


L 05/06/2021 - 17:08:35: [MySQL] Thread worker was unable to start.
L 05/06/2021 - 17:08:35: [AMXX] Displaying debug trace (plugin "panel.amxx", version...
Forum: Scripting Help 05-04-2021, 19:44
Replies: 2
Views: 99
Posted By lexzor
Re: Invalid character constant

from.

^"%i^ to ^"%i^"
Forum: Scripting Help 05-04-2021, 19:43
Replies: 2
Views: 99
Posted By lexzor
Invalid character constant

hello i have this code


formatex(g_iPlayersInfo[iPlayer][PlayedTime], charsmax(g_iPlayersInfo[][PlayedTime]), "^"%s^":^"%s^":^"%s^"", g_iPlayedTime[iPlayer][Hours],...
Forum: Scripting Help 05-04-2021, 19:41
Replies: 4
Views: 177
Posted By lexzor
Forum: Scripting Help 05-04-2021, 18:28
Replies: 4
Views: 177
Posted By lexzor
check a string from enum

hello


enum _:DATA
{
NAME[35]
}

new g_szSomething[33][DATA]
Forum: Scripting Help 05-04-2021, 12:45
Replies: 1
Views: 114
Posted By lexzor
Re: Create multiple SQL Tables

is working now. Code:


for(new i = 0; i < sizeof(g_szTables); i++)
{
formatex(szCache, charsmax(szCache), "CREATE TABLE IF NOT EXISTS %s %s", g_szTables[i], g_szTablesInfo[i])...
Forum: Scripting Help 05-04-2021, 12:02
Replies: 1
Views: 114
Posted By lexzor
Create multiple SQL Tables

Hello. Can i create multiple tables like this:

new const g_szTables[][] =
{
"Online_Players", // Tabelul pentru playerii online
"Server_Informations" // Tabelul pentru informatiile serverului...
Showing results 1 to 25 of 228

 
Forum Jump

All times are GMT -4. The time now is 14:51.


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