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

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: lexzor
Forum: Suggestions / Requests 03-20-2024, 12:01
Replies: 21
Views: 6,598
Posted By lexzor
Forum: Suggestions / Requests 03-18-2024, 14:12
Replies: 21
Views: 6,598
Posted By lexzor
Re: Admin login/connect sound

this should stop the played song:


#include <amxmodx>

#if AMXX_VERSION_NUM < 183
const MAX_NAME_LENGTH = 32
const MAX_RESOURCE_PATH_LENGTH = 64
#endif
Forum: Scripting Help 03-10-2024, 17:24
Replies: 13
Views: 850
Posted By lexzor
Forum: Scripting Help 03-05-2024, 11:59
Replies: 2
Views: 229
Posted By lexzor
Re: Disable a sound

https://forums.alliedmods.net/showthread.php?t=274000

use playback event
Forum: Scripting Help 02-07-2024, 02:44
Replies: 4
Views: 364
Posted By lexzor
Re: Statsx plugin errors Xx

?

we helped, take a look
Forum: Scripting Help 02-02-2024, 20:05
Replies: 4
Views: 364
Posted By lexzor
Re: Statsx plugin errors Xx

A parameter for formatting string it s missing
Forum: Scripting Help 01-30-2024, 10:28
Replies: 1
Views: 242
Posted By lexzor
Re: entity placing problem

Using EngFunc_SetOrigin instead of var_origin, adjusting origin after all others var_* options and changing var_movetype to MOVETYPE_NOCLIP actually solved the situation.
Forum: Scripting Help 01-30-2024, 09:30
Replies: 1
Views: 242
Posted By lexzor
entity placing problem

Hello

I'm trying to create a plugin that give possibility to place some sprites on walls and saving it in a .txt file, but there are few problems:

1. There are 4 sprites: 3 letters and an...
Forum: Scripting Help 01-16-2024, 07:33
Replies: 5
Views: 484
Posted By lexzor
Re: SQLite > MySQL

you can use more inserts in same query

for select use SQL_Execute so you won't don t need to use another function for callback
Forum: Scripting Help 12-30-2023, 03:21
Replies: 3
Views: 489
Posted By lexzor
Re: Natives

#include <amxmodx>

enum _:PlayerEnum
{
pClanId,
pClanPrivilegies,
pID,
pXP,
pKills,
pDeaths,
Forum: Scripting Help 11-29-2023, 19:08
Replies: 9
Views: 631
Posted By lexzor
Re: 5 or more dhud and hud messages

hud/dhug messages are limited to 4 channels, you can't have 5
Forum: Scripting Help 11-29-2023, 19:05
Replies: 8
Views: 1,643
Posted By lexzor
Re: How to save cvars to .txt file and how to read from .txt file

a suggestion:

read amxx.cfg and save every line, even it is a blank one

hook the event when the cvar is changed, search it in the array where you saved amxx.cfg and replace it with the new...
Forum: Scripting Help 11-03-2023, 13:43
Replies: 2
Views: 360
Posted By lexzor
Re: show_menu with loop for

first of all you format menu body then call show_menu:


#include <amxmodx>

public my_menu(id) {
new format_menu[1024], iCounter;

iCounter = formatex(format_menu, charsmax(format_menu),...
Forum: Scripting Help 10-27-2023, 18:10
Replies: 7
Views: 862
Posted By lexzor
Re: Catch the event of a player untouching an entity

register_touch

to detect when it's not touching anymore, hook the think of player entity when touching and check if it's in touched entity area using find_entity_in_sphere
Forum: Scripting Help 10-13-2023, 05:29
Replies: 21
Views: 1,988
Posted By lexzor
Re: Correct safety remove entity

you guys are just turning a simple situation into a complex one

to delete an entity, on it's next think must have flag FL_KILLME

is not important how do you call next think
Forum: Scripting Help 10-13-2023, 04:54
Replies: 21
Views: 1,988
Posted By lexzor
Re: Correct safety remove entity

not the next server tick, next entity tick
Forum: Scripting Help 10-05-2023, 11:49
Replies: 21
Views: 1,988
Posted By lexzor
Re: Correct safety remove entity

public remove_all_bh(id)
{
new ent = 33;
while((ent = find_ent_by_class(ent, gBlackHole_EntName)) != 0) {

if( pev_valid(ent) && pev(ent, pev_owner) != id ) continue;
...
Forum: Scripting Help 10-02-2023, 16:08
Replies: 8
Views: 899
Posted By lexzor
Re: Basebuilder Model CT Admin & VIP

with what?

if you are asking about how to use rh_set_user_model, read what i send you

you can use this api to set a user model too https://forums.alliedmods.net/showthread.php?t=319819
Forum: Suggestions / Requests 10-02-2023, 15:59
Replies: 4
Views: 632
Posted By lexzor
Re: Decompile .amxx

why do you think it has a backdoor?
Forum: Scripting Help 10-02-2023, 15:57
Replies: 8
Views: 899
Posted By lexzor
Re: Basebuilder Model CT Admin & VIP

see how connor did it in his plugin

cs_set_user_model it's buggy

if you don't want to follow connor method (beign the best) you can use this...
Forum: Module Coding 10-02-2023, 03:53
Replies: 2
Views: 2,637
Posted By lexzor
Forum: Scripting Help 10-02-2023, 03:01
Replies: 21
Views: 1,988
Posted By lexzor
Re: Correct safety remove

use remove_entity before nextthink
the fastest you can set a entity think (as far as i know) is 0.01
Forum: Scripting Help 10-02-2023, 00:43
Replies: 21
Views: 1,988
Posted By lexzor
Re: Correct safety remove

it's not necessary for safety, it's just a flag that tell the engine the entity must be removed in the next frame

i see you are using remove_entity(ent) so i'm sure you are using engine module,...
Forum: HL1 Servers (HLDS) 10-01-2023, 15:45
Replies: 6
Views: 3,946
Posted By lexzor
Re: Server lag optimization

is that accuracy fix actually good on rehlds and regamedll?
Forum: Scripting Help 10-01-2023, 15:41
Replies: 3
Views: 567
Posted By lexzor
Re: Set_task doesnt work properly

you already made a post with that subject here https://forums.alliedmods.net/showthread.php?t=344071

don't spam

your response is in that topic
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 04:52.


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