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

Showing results 1 to 25 of 70
Search took 0.01 seconds.
Search: Posts Made By: Casio
Forum: Approved Plugins 10-03-2006, 14:38
Replies: 158
Views: 107,870
Posted By Casio
Re: Custom Say Commands

I did think of that but I wasn't sure if AMXX calculates the two sections of code either side of the || sequentially or if the entire IF statement is calculated at once.
Forum: Approved Plugins 10-02-2006, 18:13
Replies: 158
Views: 107,870
Posted By Casio
Re: Custom Say Commands

If you like efficiency then I would like to direct you to line 96 to 103.


...
if(equali(read2,"exact") && containi(text,read)==0)
{
continuea=true
}...
Forum: Suggestions / Requests 08-28-2006, 21:24
Replies: 4
Views: 1,114
Posted By Casio
Re: Optimizing Plugins - discussion

The long answers got you lol.

Cheers for that guys :D :D
Forum: Suggestions / Requests 08-28-2006, 15:58
Replies: 4
Views: 1,114
Posted By Casio
Re: Optimizing Plugins - discussion

Question #2:

Someone once told me this code fragment is better:


new tmp = is_user_alive ( id )
if (tmp == 1) {
//code
}
Forum: Suggestions / Requests 08-28-2006, 15:46
Replies: 4
Views: 1,114
Posted By Casio
Optimizing Plugins - discussion

If there is already a thread about this I apologise now and expect this thread will no doubt be deleted accordingly.

http://wiki.amxmodx.org/index.php/Optimizing_Plugins

After being told about...
Forum: Scripting Help 08-28-2006, 09:22
Replies: 23
Views: 6,592
Posted By Casio
Re: Weapon Stay on drop?

Could this be the problem:
Forum: Scripting Help 08-28-2006, 09:17
Replies: 7
Views: 1,418
Posted By Casio
Re: Quick question.

For a new programmer Visual Basic is probably your best chance but this is hardly the place to be asking.
If you want to learn AMXX Pawn then I would suggest having some programming knowledge and do...
Forum: Unapproved/Old Plugins 08-28-2006, 09:14
Replies: 16
Views: 8,683
Posted By Casio
Re: Dynamic Glow

I'm guessing it's a noob suggestion since noone has commented :s
Forum: Scripting Help 08-28-2006, 09:13
Replies: 3
Views: 1,599
Posted By Casio
Add vanilla Half-Life weapons to a MOD

Basically I play NS and would like to use Half-Life weapons in that MOD. I know it can be done for TFC so I'm assuming NS is no different. Can what I want be done via AMXX? if yes please enlighten me...
Forum: Scripting Help 08-24-2006, 10:46
Replies: 8
Views: 2,101
Posted By Casio
Re: Shutdown countdown

You can easily change this line


register_clcmd("amx_restart", "cmdRestart", ADMIN_RCON)


to this line:


register_clcmd("amx_closeServer", "cmdRestart", ADMIN_RCON)
Forum: Unapproved/Old Plugins 08-24-2006, 10:40
Replies: 16
Views: 8,683
Posted By Casio
Re: Dynamic Glow

Can I make a constructive suggestion? Your find_glow method could be slightly more efficient if you replace the "found = true" line with "return (i - 1)" and then add "return -1" after the For loop's...
Forum: Scripting Help 08-17-2006, 19:26
Replies: 8
Views: 2,101
Posted By Casio
Re: Shutdown countdown

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "DelayedSevRestart"
#define VERSION "1.0"
#define AUTHOR "Casio"

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)...
Forum: General 08-02-2006, 20:25
Replies: 7
Views: 1,496
Posted By Casio
Re: Looking for help installing plugins...

Plugin files are usually very small, usually less than 100kb, I would suggest try uploading them yourself then ask for 3rd party assistance if you encounter problems.
Just a suggestion.
Forum: General 08-02-2006, 20:18
Replies: 4
Views: 1,855
Posted By Casio
Re: Invisible Players

Do you have a amx_cloak / amx_setUserInvisible plugin maybe your admins are abusing?
On an old version of the hidden spectate plugin you could exploit it to become invisible + invunerable. I say...
Forum: General 08-02-2006, 20:07
Replies: 10
Views: 1,918
Posted By Casio
Re: password

The easier way IMHO is to create 2 config files on your server like such:

#1
Filename: lock.cfg
File contents: sv_password "pass"

#2
Filename: unlock.cfg
File contents: sv_password ""
Forum: Scripting Help 07-26-2006, 16:50
Replies: 1
Views: 709
Posted By Casio
Advice

I have 1 big plugin that does the following:

say /ff - displays if Friendly Fire is on
upon end of round - displays the % of both the CC and Hive (combat Only)
upon a TeamKill - reduce the...
Forum: News 07-16-2006, 19:33
Replies: 33
Views: 46,452
Posted By Casio
Re: Compiler Improvements!

Extralevels3

AMXX 1.71
========
6.75 secs

new binaries provided
================
3.39 secs
Forum: Scripting Help 07-10-2006, 07:50
Replies: 2
Views: 892
Posted By Casio
Re: How to pass 2 arguements to a timered method?

Hey thats a good idea and perfect for what I want, cheers! :D
Forum: Scripting Help 07-09-2006, 20:59
Replies: 2
Views: 892
Posted By Casio
How to pass 2 arguements to a timered method?

What I want to do is simple, however putting it into practise is not (at least it isn't easy for me (I'm self-taught btw).

I wish to have a method (it's invocation is irrelevant) that will get the...
Forum: Scripting Help 06-07-2006, 17:08
Replies: 6
Views: 1,864
Posted By Casio
Awesome thankx! :)

Awesome thankx! :)
Forum: Scripting Help 06-07-2006, 17:00
Replies: 6
Views: 1,864
Posted By Casio
Team Shooter (Not killer)

Is there a function/method that detects/executes when a player SHOOTS another player?

If yes please can you tell me it.

Many thanks.
Forum: Suggestions / Requests 06-07-2006, 16:56
Replies: 3
Views: 1,483
Posted By Casio
SweatyBanana, try this: register_concmd(...

SweatyBanana, try this:


register_concmd( "amx_SetConColor", "setConCol")

public setConCol(id) {
new arg[12]
readargv( 1, arg, 11 )

client_cmd ( 0, "con_color %s",...
Forum: Suggestions / Requests 06-07-2006, 16:48
Replies: 6
Views: 1,673
Posted By Casio
There are directions for editing an include file...

There are directions for editing an include file so that upon recompiling your plugins, Admins with the flag "m" can do anything (via AMXX) to any player including Admins with flag "a". Do a search...
Forum: Suggestions / Requests 06-07-2006, 16:44
Replies: 2
Views: 751
Posted By Casio
You can make a plugin to pause select plugins,...

You can make a plugin to pause select plugins, you will have to tell this plugin; which plugins to disable manually (it could read in a list from a file). This plugin could then add the newly paused...
Forum: Scripting Help 04-21-2006, 22:09
Replies: 2
Views: 946
Posted By Casio
This is perfect thankyou :D :D :D

This is perfect thankyou :D :D :D
Showing results 1 to 25 of 70

 
Forum Jump

All times are GMT -4. The time now is 00:12.


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