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

Showing results 1 to 25 of 79
Search took 0.00 seconds.
Search: Posts Made By: tm.
Forum: General 09-16-2010, 14:04
Replies: 6
Views: 1,860
Posted By tm.
Re: cannot create game with amxmodx and metamod installed

Didn't knew that, I always installed manually.
Forum: General 09-16-2010, 13:49
Replies: 6
Views: 1,860
Posted By tm.
Re: cannot create game with amxmodx and metamod installed

You need to start at least once a new lan game before installing Metamod. It need's to create (or extract from the .gcf ... whatever) dlls/mp.dll.
Forum: Unapproved/Old Plugins 09-12-2010, 03:05
Replies: 21
Views: 6,445
Posted By tm.
Re: Player Slot Manager v0.0.4

new szName[32];
get_user_name( id, szName, 32 ) ?
Forum: Scripting Help 09-10-2010, 10:17
Replies: 12
Views: 2,639
Posted By tm.
Re: menu_display doesn't works good

Check out the newmenus include, all the info it's there.
Forum: Scripting Help 09-10-2010, 09:57
Replies: 12
Views: 2,639
Posted By tm.
Re: menu_display doesn't works good

menu_display(id, menu, page=0) or
player_menu_info(id, &menu, &newmenu, &menupage=0) ?
Forum: Suggestions / Requests 09-08-2010, 06:02
Replies: 3
Views: 1,261
Posted By tm.
Re: background music's problem

#include <amxmodx>
//Thanks to tuty for helping me ^_^

//Sound Path
#define SND1 "sound/anime/battle/into_the_battlefiled.mp3"

new g_Count = 0;

public plugin_init()
{
Forum: Scripting Help 09-08-2010, 05:56
Replies: 3
Views: 1,030
Posted By tm.
Re: Play a sound to everyone nearby?

I'm not sure because I never used this but I think you can do that with find_ent_in_sphere, check if the entities found are players and use client_cmd to play the sound.
Forum: Scripting Help 09-07-2010, 09:39
Replies: 2
Views: 785
Posted By tm.
Re: Colored message on multiple lines

Thanks. I was hoping to avoid that :).
Forum: Scripting Help 09-07-2010, 08:27
Replies: 2
Views: 785
Posted By tm.
Colored message on multiple lines

How to show a colored text message on multiple lines? I tried formating it with '^n' but still it shows on one line, although in console it displays properly.
Forum: Scripting Help 09-05-2010, 13:18
Replies: 1
Views: 996
Posted By tm.
register_logevent Bad Rcon

Hi. I'm trying to hook "Bad Rcon" log message, but failed. I tried to debug it using plugin_log and Connor's plugin (https://forums.alliedmods.net/showpost.php?p=620724&postcount=2) but this ...
Forum: Scripting Help 09-03-2010, 16:14
Replies: 3
Views: 2,702
Posted By tm.
TrieDestroy/ArrayDestroy

Is it mandatory to do that? And why is that, it can lead to memory leaks if tries/arrays aren't deleted? I saw in several plugins made by experimented coders (for example Advanced Bans) that the...
Forum: Scripting Help 09-03-2010, 16:08
Replies: 4
Views: 1,599
Posted By tm.
Re: Dynamic arrays string sorting

On win it does, on linux the list seems to be random, or listed by a criteria I don't know. I want it sorted alphabetically ascending. As I said, I've managed to do that with that code, but I was...
Forum: Scripting Help 09-03-2010, 12:59
Replies: 4
Views: 1,599
Posted By tm.
Re: Dynamic arrays string sorting

Thanks for the reply.

From this:

I've wrongly understood that I need to use ArrayPushArray before I can use ArraySetString.
I thought ArrayPushArray it's some kind of initialization, that it...
Forum: Scripting Help 09-03-2010, 10:44
Replies: 3
Views: 1,123
Posted By tm.
Re: Getting messages

client_print( 0 , print_chat , "[ INFO ] %s" , g_Messages[ random( sizeof(g_Messages) ) ] );
Forum: Scripting Help 09-03-2010, 10:30
Replies: 4
Views: 1,599
Posted By tm.
Dynamic arrays string sorting

Hi. I wrote a plugin to list all the maps from the maps folder, but I have a problem with sorting the list. I managed to sort them, using the Exolent's code from here...
Forum: Suggestions / Requests 08-25-2010, 12:05
Replies: 3
Views: 985
Posted By tm.
Re: Need Plugin to disable Microphone

You don't need a plugin for that, just add sv_voiceenable 0 in your server.cfg.
Forum: Scripting Help 08-23-2010, 13:23
Replies: 3
Views: 1,290
Posted By tm.
Re: [help] fopen

Your you could use tries to temporary store data, and saving it in the text file at plugin_end. Again, depending on what you are doing.
Forum: Scripting Help 08-23-2010, 11:52
Replies: 20
Views: 3,119
Posted By tm.
Re: Load ini [Lines]

You should try something like this for that function:

public get_random_maps(id)
{
client_print(id, print_chat, g_maps_phrases[random(g_maps_count)])
}


Also:
Forum: Suggestions / Requests 08-22-2010, 09:25
Replies: 15
Views: 3,186
Posted By tm.
Re: Every 2 rounds "clear" in console of anyone

I doubt it that the size of the print in players console has anything to do with overflows, but here you go:
#include <amxmodx>

new g_RoundCounter;

public plugin_init()
{...
Forum: Scripting Help 08-21-2010, 02:52
Replies: 4
Views: 1,178
Posted By tm.
Re: [Help] Saving,Loading, Top

Yeah, but it's basically the same thing, he will know how to make use of it.

LE: it seems that the top in Alka's plugin only displays online players. Don't know if it's possible to display the...
Forum: Scripting Help 08-20-2010, 17:07
Replies: 4
Views: 1,178
Posted By tm.
Re: [Help] Saving,Loading, Top

Check this plugin (http://forums.alliedmods.net/showthread.php?p=457071)out, it does exactly that.
Forum: Scripting Help 08-20-2010, 15:45
Replies: 2
Views: 899
Posted By tm.
Re: File line replacing

Thanks. I'm an idiot, I really should read more thoroughly those includes.
Forum: Scripting Help 08-20-2010, 13:47
Replies: 2
Views: 899
Posted By tm.
File line replacing

Hey. Let's say you have a text file which contains this data:
Player1 somedata moredata
Player2 somedata moredata
Player3 somedata moredata
Player4 somedata moredata

How to modify the file to...
Forum: Scripting Help 08-13-2010, 18:19
Replies: 9
Views: 1,838
Posted By tm.
Re: Do something depends of player count

I think (not sure) that client_disconnect it's not called if player disconnects before putinserver.
Forum: Scripting Help 08-13-2010, 18:18
Replies: 11
Views: 2,307
Posted By tm.
Re: How to disconnect someone if they have a specified setinfo?

I just test it and worked fine for me, don't know what else to tell you.
Showing results 1 to 25 of 79

 
Forum Jump

All times are GMT -4. The time now is 18:10.


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