Raised This Month: $29 Target: $400
 7% 

Showing results 1 to 25 of 237
Search took 0.01 seconds.
Search: Posts Made By: lexzor
Forum: Scripting Help 06-11-2021, 12:49
Replies: 1
Views: 137
Posted By lexzor
cstrike bug ?

is there a bug with cs_get_user_team ?

sometimes don t work properly. i have a csgo agent plugin that use cstrike module to get user team but sometimes terrorists player has a ct model and the...
Forum: Scripting Help 06-11-2021, 12:16
Replies: 5
Views: 189
Posted By lexzor
Re: custom amx_who

why don t u make a separate amx_who plugin? just make one and put it above eliteadminsystem.amxx in plugins.ini
Forum: Scripting Help 05-24-2021, 07:48
Replies: 2
Views: 107
Posted By lexzor
Re: debug error

Post the code with error.

This is scripting help section not request.
Forum: Scripting Help 05-22-2021, 12:06
Replies: 2
Views: 119
Posted By lexzor
Re: Run time error 3: stack error

Don't use a higher size than 2000.

Check my topic for more informations: https://forums.alliedmods.net/showthread.php?t=332390
Forum: Scripting Help 05-22-2021, 12:05
Replies: 6
Views: 465
Posted By lexzor
Re: [SQLx]Thread worked was unable to start

I posted the wrong code. Sorry about this.

Problem solved: There must be a delay after map change for query and add is_user_connected check.

switch(id)
{
case 1..9: set_task(0.1,...
Forum: Scripting Help 05-13-2021, 20:41
Replies: 11
Views: 481
Posted By lexzor
Re: CURL Help

My output:

curl complete
Upgrade not needed [Is 0 > 997 ?]
Forum: Scripting Help 05-13-2021, 18:11
Replies: 4
Views: 213
Posted By lexzor
Forum: Scripting Help 05-13-2021, 18:00
Replies: 4
Views: 213
Posted By lexzor
Re: switch question

2 more questions:
1. player index (id) start from 0 or 1 ?
2. Which type of sql data save is better: ip or steamid ?
Forum: Scripting Help 05-13-2021, 16:50
Replies: 4
Views: 213
Posted By lexzor
switch question

Can i use switch smth like this:


switch(id)
{
case 1..5: set_task(0.1, "set_user_data_sql", id + DisconnectedTask)
case 6..11: set_task(0.1, "set_user_data_sql", id + DisconnectedTask)...
Forum: Scripting Help 05-13-2021, 11:26
Replies: 11
Views: 481
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 05-13-2021, 11:01
Replies: 0
Views: 201
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 05-12-2021, 06:29
Replies: 11
Views: 481
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: 11
Views: 481
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: 11
Views: 481
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: 266
Posted By lexzor
Re: HTTP:X Problem

I will use cURL. Thanks.
Forum: Scripting Help 05-10-2021, 14:40
Replies: 3
Views: 266
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: 14,541
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: 163
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: 124
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: 124
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: 322
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: 322
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: 322
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: 322
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: 251
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 ?
Showing results 1 to 25 of 237

 
Forum Jump

All times are GMT -4. The time now is 05:53.


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