Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 174
Search took 0.01 seconds.
Search: Posts Made By: watch
Forum: Approved Plugins 06-21-2007, 04:21
Replies: 26
Views: 15,290
Posted By watch
Re: TFC - All Teams Are Allies

You do realise the FM_KeyValue stuff is completely uneeded. The code i mentioned will work just fine by itself on init..
Forum: General 03-17-2007, 12:42
Replies: 0
Views: 1,047
Posted By watch
AMXX 1.76d & Nvault Module

Up to date TFC GNU/Linux server.

Am having problems with the nvault module after upgrading from 1.76c to 1.76d . I've redownloaded and installed just base, with default plugins/setup and a test...
Forum: Code Snippets/Tutorials 03-13-2007, 09:57
Replies: 83
Views: 71,529
Posted By watch
Re: [TUT] User Icon Status

I know its just an example but it would be better to cache whether the player has been send the message rather than send it over and over. Then when they release attack, remove it. D:
Forum: Scripting Help 03-12-2007, 20:19
Replies: 5
Views: 1,542
Posted By watch
Re: timer

http://forums.alliedmods.net/showthread.php?t=43049

http://www.amxmodx.org/funcwiki.php?search=set_task&go=search

You should probably try search or look at existing plugins that do something...
Forum: Scripting Help 03-12-2007, 14:37
Replies: 3
Views: 950
Posted By watch
Re: Compile prob's

Did you forget to put a closing brace at the end before you continued with the rest of your code?
Forum: Scripting Help 03-12-2007, 09:33
Replies: 10
Views: 3,804
Posted By watch
Re: Make an Aiment Visible?

From weapons.cpp. Hope it helps, I'm not at home so I can't fiddle with it.

void CBasePlayerItem::AttachToPlayer ( CBasePlayer *pPlayer )
{
pev->movetype = MOVETYPE_FOLLOW;
pev->solid =...
Forum: Scripting Help 03-12-2007, 09:14
Replies: 3
Views: 950
Posted By watch
Re: Compile prob's

You messed up with switch(), http://wiki.amxmodx.org/index.php/Pawn_Tutorial#Switch_Statements
Forum: Approved Plugins 03-11-2007, 05:02
Replies: 73
Views: 102,369
Posted By watch
Re: Automatic Unstucking

Noticed this the other day but was too lazy to post.

You used get_playersnum() not get_players before ;D
Forum: Scripting Help 12-11-2006, 13:44
Replies: 6
Views: 1,578
Posted By watch
Re: Compile.bat, automaticly compile your plugin

Link is dead.

AMXX Studio & F9

"Compile and Upload" and "Register in plugins.ini" are also timesavers.
Forum: Approved Plugins 12-11-2006, 13:37
Replies: 26
Views: 15,290
Posted By watch
Re: TFC - All Teams Are Allies

init is called when the map starts, after the map entities have been created. The only problem you will have with the current code is if a map has a DM area for say green and yellow which some...
Forum: Approved Plugins 12-11-2006, 11:36
Replies: 26
Views: 15,290
Posted By watch
Re: TFC - All Teams Are Allies

^^ Oh i see your edit... Yeah go for it. The bots probably get the values from tfdetect just once at the start of the map, i guess them being a metamod plugin it will called before you can actually...
Forum: Approved Plugins 12-11-2006, 10:53
Replies: 26
Views: 15,290
Posted By watch
Re: TFC - All Teams Are Allies

You can do it just in fakemeta look up the keyvalue stock in VEN's Fakemeta Utils inc in the tutorials section.

But info_tfdetect can actually be changed midgame, it doesn't have to be on...
Forum: Approved Plugins 12-11-2006, 07:33
Replies: 26
Views: 15,290
Posted By watch
Re: TFC - All Teams Are Allies

^^

You could improve it by removing the need for the engine module D:
Forum: Approved Plugins 12-08-2006, 09:21
Replies: 56
Views: 31,928
Posted By watch
Re: 1337 Restarter

lol internets :>

Its his decision what to call the plugin at the end of the day, even if it does sound stupid!
Forum: Approved Plugins 12-07-2006, 11:17
Replies: 56
Views: 31,928
Posted By watch
Re: Server Restart (every hour)

1) http://forums.alliedmods.net/showthread.php?t=1263&highlight=schedule

2) Why not just make the cvar specify the actual time :/ Like in hours then just do some simple calculations for the...
Forum: Scripting Help 12-07-2006, 11:02
Replies: 8
Views: 1,996
Posted By watch
Re: Get players in other players radius?

No, you are skipping a player by doing that and on a 32 man server "i" could reach 32 causing errors with the players[32] array
Forum: Scripting Help 12-07-2006, 10:47
Replies: 8
Views: 1,996
Posted By watch
Re: Get players in other players radius?

for(new i = 0; i < num; i++)

Also this might help
http://forums.alliedmods.net/showthread.php?t=42367
Forum: Scripting Help 12-07-2006, 10:31
Replies: 6
Views: 1,884
Posted By watch
Re: Cycling through player views

Why do you use semicolon, whitespace and case inconsistantly ;)?

You would also have to do a bit more than set the origin, angles etc :>
Forum: Scripting Help 12-07-2006, 07:27
Replies: 3
Views: 1,612
Posted By watch
Re: PLugin server CPU Optimization

If you really have to check the model file exists make a global variable
g_exists = file_exists(g_szMdl)
Then rather than calling a natives all the time you can just do if (g_exists) {

Also look...
Forum: Scripting Help 12-06-2006, 05:28
Replies: 16
Views: 3,515
Posted By watch
Re: client_cmd

No^

Play, speak and spk all work the same afaik, add .wav to the end and see if it works.

client_cmd(0,"speak phone/beep.wav")

If its an mp3 use "mp3 play phone/beep.mp3"

Precaching a...
Forum: Approved Plugins 11-30-2006, 08:30
Replies: 56
Views: 31,928
Posted By watch
Re: Server Restart (every hour)

This plugin seems to cover this :O http://forums.alliedmods.net/showthread.php?t=1263&highlight=schedule

Also whats the point in the else statement and having parameters on the task :E? and would...
Forum: Suggestions / Requests 11-24-2006, 18:16
Replies: 5
Views: 1,513
Posted By watch
Re: Shaker

The plugin will still work on other mods though
Forum: Scripting Help 11-24-2006, 08:12
Replies: 6
Views: 2,077
Posted By watch
Re: Force mapvote from another plugin

No, do what VEN said


callfunc_begin("voteNextmap","mapchooser")
callfunc_end()
Forum: Suggestions / Requests 11-23-2006, 13:00
Replies: 5
Views: 1,513
Posted By watch
Re: Shaker

http://forums.alliedmods.net/showthread.php?t=908&highlight=screenshake
Forum: Scripting Help 11-22-2006, 14:04
Replies: 6
Views: 2,249
Posted By watch
Re: dynamic menu building

An array index starts from 0
Showing results 1 to 25 of 174

 
Forum Jump

All times are GMT -4. The time now is 19:37.


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