Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 28
Search took 0.01 seconds.
Search: Posts Made By: akysiev
Forum: Scripting Help 03-24-2006, 23:01
Replies: 17
Views: 3,643
Posted By akysiev
But it doesn't show up in amxx list?

But it doesn't show up in amxx list?
Forum: Scripting Help 03-24-2006, 22:56
Replies: 17
Views: 3,643
Posted By akysiev
Did you add it to plugins.ini then??

Did you add it to plugins.ini then??
Forum: Suggestions / Requests 03-24-2006, 20:47
Replies: 9
Views: 4,272
Posted By akysiev
AFAIK, only CS supports colored say messages and...

AFAIK, only CS supports colored say messages and only 2 extra colors too.
Forum: Scripting Help 03-24-2006, 20:37
Replies: 5
Views: 1,524
Posted By akysiev
What is wrapping the emit_sound? Check to see if...

What is wrapping the emit_sound? Check to see if it is looping via constant function calls such as by set_task.

What exactly is wrong with the menu? Does it not display or does some part of it not...
Forum: Off-Topic 03-24-2006, 20:30
Replies: 1
Views: 1,626
Posted By akysiev
Very random: PHP server engine (not for HL!)

Alright so I got tired of messing around with the HLSDK for a while and started working on PHP again to work with sockets when I suddenly realized that it might be possible to make an extremely...
Forum: Unapproved/Old Plugins 03-24-2006, 09:03
Replies: 8
Views: 2,453
Posted By akysiev
/me in chat

/*
* slash_me.sma
* This plugin transforms all says (but not teamsays) starting with /me
* into the general IRC form of /me.
*
* Credits:
* akysiev
*
* Usage:
* No usage information; only...
Forum: Scripting Help 03-24-2006, 08:39
Replies: 8
Views: 1,629
Posted By akysiev
It would remove the task for all players since...

It would remove the task for all players since all of them are grouped under task id 0. To solve this, use a unique task id as follows:


public client_putinserver(id)
{
if (is_user_bot(id))...
Forum: Scripting Help 03-24-2006, 08:36
Replies: 5
Views: 2,000
Posted By akysiev
v3x, he asked where/what the function is and was...

v3x, he asked where/what the function is and was obviously under the impression that it was a native. I don't see what's wrong with my answer.
Forum: Scripting Help 03-24-2006, 07:20
Replies: 17
Views: 3,643
Posted By akysiev
I had a similar problem and resorted to using...

I had a similar problem and resorted to using get_user_weapon instead of reading the message data.

Replace

new weapid = read_data(2); // get the weapon ID

with

new clip, ammo, weapid =...
Forum: Scripting Help 03-24-2006, 07:15
Replies: 7
Views: 1,835
Posted By akysiev
entity_set_vector( ent, EV_VEC_angles, angles );

entity_set_vector( ent, EV_VEC_angles, angles );
Forum: Scripting Help 03-24-2006, 07:10
Replies: 14
Views: 2,272
Posted By akysiev
Oh, I see. But anyways when a player presses the...

Oh, I see. But anyways when a player presses the associated key in the menu, it passes an integer key, not a string. It would probably be best if you gave us more code or the entire script.
Forum: Scripting Help 03-24-2006, 07:08
Replies: 2
Views: 865
Posted By akysiev
Actually if the inner for loop is the only block...

Actually if the inner for loop is the only block of code within the outer for loop in the second way, then it should be fine. Anyways, go with the first. The variable assignment isn't exactly taxing...
Forum: Scripting Help 03-24-2006, 07:04
Replies: 5
Views: 2,000
Posted By akysiev
That function belongs to either the plugin itself...

That function belongs to either the plugin itself or a custom include file.
Forum: Scripting Help 03-24-2006, 07:03
Replies: 8
Views: 1,629
Posted By akysiev
I know I didn't change much but see if it works: ...

I know I didn't change much but see if it works:


public client_putinserver(id)
{
if (is_user_bot(id))
return PLUGIN_HANDLED
if (!connect(sql))
{
log_amx("Error - Couldn't connect to...
Forum: Scripting Help 03-24-2006, 06:57
Replies: 14
Views: 2,272
Posted By akysiev
What I'm confused about is what you want...

What I'm confused about is what you want g_HighBanMenuValues to refer to, a string or an integer. The code you wrote is equivalent to


if (get_user_flags(id)&HIGHER_BAN_TIME_ADMIN)
{...
Forum: Scripting Help 03-23-2006, 18:03
Replies: 14
Views: 2,272
Posted By akysiev
#define 1Hour 3600 #define 3Days 259200 ...

#define 1Hour 3600
#define 3Days 259200
#define 7Days 604800
#define Permanent 0

new g_HighBanMenuValues[4] = {1Hour, 3Days, 7Days, Permanent};


Strings are null terminated arrays. The...
Forum: Scripting Help 03-23-2006, 17:04
Replies: 7
Views: 1,581
Posted By akysiev
I believe you have to change the rendermode as...

I believe you have to change the rendermode as well for it to take effect, no? Someone please correct me if I'm mistaken.
Forum: Scripting Help 03-22-2006, 20:30
Replies: 4
Views: 982
Posted By akysiev
Thanks! I'd just rather output debug messages and...

Thanks! I'd just rather output debug messages and execute test queries only when in debug mode. I know I could do that with a simple little preprocessor directive but now that I know how to do it...
Forum: Scripting Help 03-22-2006, 15:34
Replies: 14
Views: 2,497
Posted By akysiev
Almost exactly what he wrote. public...

Almost exactly what he wrote.

public plugin_init()
{
set_task(15.0,"textloop", 0, "", 0, "b")
}
public textloop()
{
client_print(0, print_chat,"If you are seeing this, then it...
Forum: Scripting Help 03-22-2006, 14:59
Replies: 9
Views: 2,040
Posted By akysiev
Try this. I just deleted the bot block and added...

Try this. I just deleted the bot block and added an extra conditional before it displays the menu.

public menuSuperPowers(id, menuOffset)
{
// Don't show menu if mod off or they're not...
Forum: Scripting Help 03-22-2006, 14:39
Replies: 9
Views: 2,040
Posted By akysiev
Find the register_menu line in plugin_init that...

Find the register_menu line in plugin_init that has "Select Super Power:" or something like that and post that plus the function it references to.
Forum: Scripting Help 03-22-2006, 13:56
Replies: 4
Views: 982
Posted By akysiev
Determining debug status

I've always wondered, is there a way to determine within a script whether or not the script is being run in debug mode?
Forum: Scripting Help 03-22-2006, 13:50
Replies: 14
Views: 2,497
Posted By akysiev
SubStream: Yes, what you wrote should work fine....

SubStream: Yes, what you wrote should work fine. Although instead of storing it as a global var, you could use modulo as well :)

Really though, set_task was made for this type of stuff.

Oh,...
Forum: Scripting Help 03-22-2006, 13:47
Replies: 9
Views: 2,040
Posted By akysiev
You'll have to change this within the source code...

You'll have to change this within the source code of the script itself. First off, a bot won't ever receive a menu to choose from, and thus won't call the function that handles a menu choice. That...
Forum: Scripting Help 03-22-2006, 13:29
Replies: 1
Views: 699
Posted By akysiev
Okay after a bit of testing I've found that the...

Okay after a bit of testing I've found that the problem with the loop is that it will successfully complete one pass through the entire keytable but will remain stuck on the last index. Basically,...
Showing results 1 to 25 of 28

 
Forum Jump

All times are GMT -4. The time now is 16:32.


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