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

Showing results 1 to 23 of 23
Search took 0.00 seconds.
Search: Posts Made By: Teyut
Forum: Code Snippets/Tutorials 03-01-2009, 15:36
Replies: 50
Views: 26,157
Posted By Teyut
Re: Multilines kick reason

The player entity is the result of INDEXENT (it's a pointer). The only reason why the MESSAGE_BEGIN macro (the HLSDK macro) throws that fatal error is when the player entity parameter is NULL with...
Forum: Code Snippets/Tutorials 02-28-2009, 23:40
Replies: 50
Views: 26,157
Posted By Teyut
Re: Multilines kick reason

[...]
So the question is - how can I know if I can send message to the player with message_begin() if the player shows up as not connected?[/QUOTE]
From what I understand reading the AMXX/HLSDK...
Forum: Scripting Help 08-29-2008, 15:04
Replies: 4
Views: 4,852
Posted By Teyut
Re: someone can help me??i'am noob..(about native)

See the attachments.

You also need to load the "Ryu MoneyX" plugin on your server if you want the native calls to work. I didn't find the source code for that plugin (probably because I can't read...
Forum: Suggestions / Requests 06-18-2008, 11:40
Replies: 30
Views: 16,542
Posted By Teyut
Re: Mani's TeamBet plugin

There's only one advert when a player comes in game, and it's possible to tell the players to bet when there's a 1vs1 situation if you set the CVAR amx_bet_announce to 1. No other messages are shown...
Forum: Suggestions / Requests 06-17-2008, 15:25
Replies: 30
Views: 16,542
Posted By Teyut
Re: Mani's TeamBet plugin

I've updated the language file with your fix.
Forum: Suggestions / Requests 06-17-2008, 14:27
Replies: 30
Views: 16,542
Posted By Teyut
Re: Mani's TeamBet plugin

Polish translation has been included in the language file. Thanks to MikeFM.
Forum: Suggestions / Requests 06-16-2008, 22:16
Replies: 30
Views: 16,542
Posted By Teyut
Re: Mani's TeamBet plugin

Oops, there was some Unicode characters. Try the one attached.

What's weird is that my hlds/AMXX didn't complain about the Unicode characters (both under Linux and Windows), and I was able to see...
Forum: Suggestions / Requests 06-16-2008, 19:08
Replies: 3
Views: 1,124
Posted By Teyut
Re: [adminvote] What the point of VOTING_FORBIDDEN ?

No one knows a better reason then ? Last "up" before I open a bug request.
Forum: Suggestions / Requests 06-16-2008, 19:02
Replies: 30
Views: 16,542
Posted By Teyut
Re: Mani's TeamBet plugin

I needed it too, so I ported it. See attachments.

The plugin will crash on servers that can accept more than 32 players (not possible, right?), and I guess some optimizations could be done. I...
Forum: Suggestions / Requests 05-17-2008, 07:08
Replies: 6
Views: 2,148
Posted By Teyut
Re: Prevent massive leaves

set_cvar_float("amx_timeleft", 120.0)
That won't do what you want, since the meaning of the CVAR <amx_timeleft> is only informative (i.e., setting its value won't set the time left to play). You...
Forum: Suggestions / Requests 05-17-2008, 03:47
Replies: 3
Views: 1,124
Posted By Teyut
Re: [adminvote] What the point of VOTING_FORBIDDEN ?

Thanks for your answer.

So ... you cannot use the words 'ban' and 'kick' in a vote question just because there exist other ways for banning or kicking a player using a vote !? I hope that's not...
Forum: Suggestions / Requests 05-16-2008, 20:28
Replies: 3
Views: 1,124
Posted By Teyut
[adminvote] What the point of VOTING_FORBIDDEN ?

Hi,

Looking at the source code of <adminvote.sma>, there are some words that are forbidden to use in the question of a custom vote (<amx_vote> command):
new quest[48]
read_argv(1, quest, 47)...
Forum: General 12-13-2007, 19:43
Replies: 2
Views: 1,215
Posted By Teyut
Re: AMXX Binary Logging

So, that what changelogs are made for :shock: I've searched Google for "Binary logging" and "binlog", but not "Bin logging", so I guess that why I didn't find it :|

All my apologies, and thank you...
Forum: General 12-13-2007, 19:31
Replies: 2
Views: 1,215
Posted By Teyut
AMXX Binary Logging

Hello,

I'm looking for the version of AMXX 1.8 (Linux) which has the binary logging feature compiled with it. Where can I find it please ? I've looked in the "Downloads" page of the website, but I...
Forum: Module Coding 07-23-2007, 13:33
Replies: 2
Views: 1,554
Posted By Teyut
Re: [REGEX] Pre-compiled RE support ?

Done (http://bugs.alliedmods.net/?do=details&task_id=673). Thanks for the answer, and sorry for having posted that in the wrong place then :oops:
Forum: Module Coding 07-21-2007, 23:20
Replies: 2
Views: 1,554
Posted By Teyut
[REGEX] Pre-compiled RE support ?

Hi !

With the current regex module, each time we want to execute a RE, the module compiles it on-demand using its string representation (pattern). Since it's not unusual that the same RE pattern...
Forum: Scripting Help 05-18-2007, 23:11
Replies: 34
Views: 6,346
Posted By Teyut
Re: Correction

public new_round()
{
if(typaide == 0) return PLUGIN_CONTINUE
new playercount, Players[32]
get_players(Players, playercount)
for(new i=0;i<playercount;i++)
{
new id...
Forum: Scripting Help 05-10-2007, 21:30
Replies: 4
Views: 1,949
Posted By Teyut
segfault in dbi_result ?

I've tried, but actually, since RESULT_FAILED < RESULT_NONE, it didn't change anything :(

I've changed the SQL query and added a few debug output: // Make sure we have a valid SQL Connection...
Forum: Scripting Help 05-10-2007, 04:17
Replies: 4
Views: 1,949
Posted By Teyut
Re: dbi_free_result: Invalid DBI result handle

As said above, there's no problem with the SQL query: I've tried it using phpadmin, and confirmed it works in my plugin. That may be a MySQL specific feature, but subqueries in the FROM clause...
Forum: Scripting Help 05-09-2007, 18:39
Replies: 4
Views: 1,949
Posted By Teyut
dbi_free_result: Invalid DBI result handle

Hi,

The following code is supposed to retrieve some stuffs from my database using AMXX v1.76a:
// The SQL query retrieve the 15 best players average XP
new szQuery[256];
format(szQuery, 255,...
Forum: Code Snippets/Tutorials 11-12-2006, 16:50
Replies: 50
Views: 26,157
Posted By Teyut
Re: Multilines kick reason

Like I explained it above, I wasn't really ready to post my message when you saw it. The (almost) final version is now available, with a screenshot as you asked :wink: Its content is in french, but...
Forum: Code Snippets/Tutorials 11-12-2006, 16:23
Replies: 50
Views: 26,157
Posted By Teyut
Multilines kick reason

Hi !

When you use the kick command on a server con, you can give a reason for that kick using the following scheme:
kick (name | #userid) [reason]The problem is that the reason message is a one...
Forum: Off-Topic 11-12-2006, 15:45
Replies: 0
Views: 610
Posted By Teyut
Dup comment

Hi !

I made a comment about the floatround (http://www.amxmodx.org/funcwiki.php?go=func&id=73) AMXX function, but it is shown twice on the site because I hit the back button of my browser once the...
Showing results 1 to 23 of 23

 
Forum Jump

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


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