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

Showing results 1 to 25 of 174
Search took 0.03 seconds.
Search: Posts Made By: Mario AR.
Forum: Scripting Help 10-31-2020, 03:04
Replies: 3
Views: 616
Posted By Mario AR.
Re: Hook console say command?

Thanks for your reply.

I'm trying to block EAC (Easy Anti Cheat) from printing text. It sends the rcon command "say ....".
I didn't find a way to block rcon commands neither (at least not without...
Forum: Scripting Help 10-30-2020, 16:52
Replies: 3
Views: 616
Posted By Mario AR.
Hook console say command?

Hi.

I'm trying to hook a 'say' command sent from the server console. None of the methods above seemed to work (they just don't catch it).
register_clcmd("say"
register_srvcmd("say"...
Forum: Scripting Help 03-11-2016, 00:42
Replies: 4
Views: 1,157
Posted By Mario AR.
Re: EntitiesInPVS

Will return B.
PVS-> Player view
Forum: Scripting Help 03-09-2016, 23:44
Replies: 45
Views: 8,010
Posted By Mario AR.
Re: [HELP] stack error problem

Have you tried:
public plugin_init()
{
register_event( "DeathMsg", "dinkywinki", "a" ); // just a different name for the function
}

public dinkywinki()
?
Forum: Scripting Help 03-07-2016, 10:34
Replies: 5
Views: 1,834
Posted By Mario AR.
Re: replace symbol

I doubt you can look for a similar character, but you can remove the '#' only if the message equals to #Cstrike_*

replace_all(message, 191, "#C", "C");
Forum: Scripting Help 03-07-2016, 10:31
Replies: 45
Views: 8,010
Posted By Mario AR.
Re: [HELP] stack error problem

new players[ 32 ], iNum
:arrow:
static players[ 32 ], iNum

That's a pretty strange error, since it seems to happen only in some HLDS builds and systems (I just tested your code: no stack error).
Forum: Scripting Help 03-05-2016, 13:14
Replies: 4
Views: 1,006
Posted By Mario AR.
Re: [HELP] Problem with native

You're using style 1 natives, so you need to set that in register_native
register_native("og_get_user_GP", "Get_User_GhostPoint", 1);
Forum: Scripting Help 03-04-2016, 22:23
Replies: 6
Views: 1,152
Posted By Mario AR.
Re: [HELP] Screen Fade to all Players

FFADE_MODULATE is used for a non additive blending in the fade. Basically, is like an "effect". Try it and you'll see.
You can "mix" FFADE_* constants using the OR binary operator (the '|' symbol)....
Forum: Scripting Help 03-04-2016, 12:13
Replies: 6
Views: 1,152
Posted By Mario AR.
Re: [HELP] Screen Fade to all Players

Your code already does that, because of MSG_BROADCAST.
Forum: Suggestions / Requests 03-03-2016, 03:52
Replies: 2
Views: 935
Posted By Mario AR.
Re: request new mod

There's a very similar mod in progress here: http://www.mundomapping.net/foro/showthread.php?t=874 (you may need to translate from Spanish).
Forum: Scripting Help 03-01-2016, 12:31
Replies: 15
Views: 1,857
Posted By Mario AR.
Re: Erros with using data structures

new const knives_info
knives_info is a constant array, so it can't be modified after initialized.
Forum: Scripting Help 02-28-2016, 19:41
Replies: 17
Views: 3,308
Posted By Mario AR.
Re: index out of bounds

Yeah, but in this particular case, remove_task is necessary because of the existence of sv_restart. If sv_restart is used before the countdown hits 0 (or the round ends somehow), the countdown will...
Forum: Scripting Help 02-27-2016, 12:18
Replies: 17
Views: 3,308
Posted By Mario AR.
Re: index out of bounds

I'm not totally sure, but i think that the problem is the round_start event called twice.

Try:
const TASKID = 9876;

new sounds[ 10 ][] = {
"zombie_plague/one.wav",
...
Forum: Scripting Help 02-27-2016, 12:09
Replies: 6
Views: 1,911
Posted By Mario AR.
Re: HAM_Think on custom entities

In this case, you'll be better using RegisterHamFromEntity().

new ent = create_entity("func_breakable");
RegisterHamFromEntity(Ham_Think, ent, "fw_my_ent_Think", false);

RegisterHam and...
Forum: Scripting Help 02-26-2016, 20:37
Replies: 13
Views: 2,496
Posted By Mario AR.
Re: [Hard Question] Chat Message Block

So, it seems like you know what you're doing, then why are you asking for help?
I told you: some messages sent by some plugins CAN NOT be catched by others.

But, whatever, I give up. Good luck.
Forum: Scripting Help 02-25-2016, 21:10
Replies: 13
Views: 2,496
Posted By Mario AR.
Re: [Hard Question] Chat Message Block

I understand. If any of your plugins sends SayText messages, then those messages can not be catched by any other plugin. If that's the case, then you should change message_* natives with emessage_*...
Forum: Scripting Help 02-25-2016, 21:04
Replies: 16
Views: 2,428
Posted By Mario AR.
Re: Show ace help

Because this forum is not the police, but we can't support illegal actions.
Forum: Suggestions / Requests 02-25-2016, 12:37
Replies: 1
Views: 738
Posted By Mario AR.
Re: Knife speed with invis

This should work:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <engine>
#include <hamsandwich>

#define PLUGIN "New Plug-in"
#define VERSION "0.1"
#define AUTHOR "Mario...
Forum: Scripting Help 02-25-2016, 11:54
Replies: 13
Views: 2,496
Posted By Mario AR.
Re: [Hard Question] Chat Message Block

Can you show me your tag plugin?
Forum: Scripting Help 02-25-2016, 02:05
Replies: 16
Views: 2,428
Posted By Mario AR.
Re: Show ace help

Something like this?
(It's possible, but illegal, to use it in CS 1.6).
Forum: Scripting Help 02-25-2016, 02:04
Replies: 13
Views: 2,496
Posted By Mario AR.
Re: [Hard Question] Chat Message Block

Use get_msg_arg_string(4) if get_msg_args() == 4
Forum: Scripting Help 02-24-2016, 23:40
Replies: 3
Views: 1,406
Posted By Mario AR.
Re: Size of enum not is correct

Don't do that.
Doing this:
g_armas[5][7][DATA_ARMAS]:arrow:
g_armas[4][6][DATA_ARMAS]

May let you compile, but not acceed the data stored in the array (plus, you're wasting a lot of memory)....
Forum: Scripting Help 02-22-2016, 15:32
Replies: 3
Views: 1,051
Posted By Mario AR.
Re: [HELP] Hud/Dhud Channels + Print_Center

1. Its a limitation of the HL client.
2. Try EngFunc_ClientPrintf
Forum: Suggestions / Requests 02-22-2016, 11:22
Replies: 4
Views: 1,243
Posted By Mario AR.
Re: [Req] Stats and score to .txt

Every 5 seconds? Damn, you'll break your hard drive!

But here it is.
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "New Plug-in"
#define VERSION "0.1"
#define...
Forum: Scripting Help 02-22-2016, 10:49
Replies: 16
Views: 2,428
Posted By Mario AR.
Re: Show ace help

Something like this?
https://i.gyazo.com/5ace47c60da65bf3a49b752047ca4228.png

If so, that's the tutor message, and it's available only for CS:CZ. (It's possible, but illegal, to use it in CS 1.6).
Showing results 1 to 25 of 174

 
Forum Jump

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


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