Raised This Month: $180 Target: $400
 45% 

Showing results 1 to 25 of 500
Search took 0.32 seconds.
Search: Posts Made By: fysiks
Forum: Scripting Help Today, 01:51
Replies: 4
Views: 31
Posted By fysiks
Re: if(!is_user_alive(id))

What part isn't working? Is hudmsg() being called? If so, how?

Did you try putting a simple client_print() in there also to see if the functions are getting called properly?

Also, you should...
Forum: Suggestions / Requests Yesterday, 23:39
Replies: 10
Views: 109
Posted By fysiks
Re: any body know any engine

Use the Google to find a forum software. tarsisd2 even mentioned a couple of popular options.
Forum: Suggestions / Requests 05-23-2018, 02:58
Replies: 9
Views: 137
Posted By fysiks
Re: Block Changing Names & Amx_nick

Well, apparently it is using beta-only code. You can try this one (https://github.com/alliedmodders/amxmodx/blob/2385dd39726d864417f120dc60dae0502026feae/plugins/admincmd.sma) which is immediately...
Forum: Suggestions / Requests 05-22-2018, 23:15
Replies: 9
Views: 137
Posted By fysiks
Re: Block Changing Names & Amx_nick

You'd need to compile it but I'm sure it would work (I didn't see any code in it that would prevent backwards compatibility).
Forum: Approved Plugins 05-22-2018, 21:42
Replies: 371
Views: 189,707
Posted By fysiks
Re: Restrict Names 1.2a

To detect any number of spaces between word, replace the space with "\s*".



Well, since "r00t" is in the name "WNG|r00t" then it worked exactly how it was designed.

If you need to match it...
Forum: Suggestions / Requests 05-22-2018, 21:17
Replies: 9
Views: 137
Posted By fysiks
Re: Block Changing Names & Amx_nick

The original amx_nick command used a bad method for setting player's names. If you use the newest version (https://github.com/alliedmodders/amxmodx/blob/master/plugins/admincmd.sma), it won't be...
Forum: Code Snippets/Tutorials 05-22-2018, 21:07
Replies: 73
Views: 65,315
Posted By fysiks
Re: [HOWTO] Compile locally with custom includes

Use your favorite source code editor, there are many out there that will work just fine. People have created useful modifications for some of these editors to make working with AMX Mod X more...
Forum: HL1 Servers (HLDS) 05-20-2018, 22:20
Replies: 3
Views: 150
Posted By fysiks
Forum: Approved Plugins 05-20-2018, 22:12
Replies: 371
Views: 189,707
Posted By fysiks
Re: Restrict Names 1.2a

I do it based on my memory and I just try it in Notepad++ to see if it works. I updated my original post to include another of the control characters that I forgot to list.



No, I will not do...
Forum: Approved Plugins 05-20-2018, 21:44
Replies: 197
Views: 208,358
Posted By fysiks
Re: Auto Message Displayer (Advertiser)

You either have to type this in the server's console or use the amx_cvar command (if you are playing the game).
Forum: Suggestions / Requests 05-20-2018, 21:41
Replies: 10
Views: 279
Posted By fysiks
Re: [REQ] Coder needed

I don't care how he spends his money. The comment regarding free stuff was secondary and an FYI.
Forum: Suggestions / Requests 05-19-2018, 22:55
Replies: 10
Views: 279
Posted By fysiks
Re: [REQ] Coder needed

That is not at all useful.

If the idea is simple, you might even get someone to do it for free. Who doesn't like free stuff?
Forum: Suggestions / Requests 05-19-2018, 22:54
Replies: 21
Views: 377
Posted By fysiks
Re: CS 1.6 Ban Name Plugin Modification

A space is a subset of whitespace. But, if you look at the documentation (http://www.amxmodx.org/api/string/trim), it will remove only whitespace from the beginning and end of the string.
Forum: Approved Plugins 05-19-2018, 22:51
Replies: 371
Views: 189,707
Posted By fysiks
Re: Restrict Names 1.2a

If you want to match a literal string, you simply need to escape the control characters (like in my examples above).



Just try some things out and test them. I often use Notepad++ search to...
Forum: Suggestions / Requests 05-19-2018, 17:48
Replies: 10
Views: 279
Posted By fysiks
Re: [REQ] Coder needed

You should explain a little bit about your requests so that people know what types of things they might need to know to be able to fulfill your request.
Forum: Suggestions / Requests 05-19-2018, 15:48
Replies: 21
Views: 377
Posted By fysiks
Re: CS 1.6 Ban Name Plugin Modification

The only realistic way to do this is to use RegEx. I gave you examples in the Restrict Names thread.
Forum: Suggestions / Requests 05-19-2018, 15:36
Replies: 21
Views: 377
Posted By fysiks
Re: CS 1.6 Ban Name Plugin Modification

You should be using the Restrict Names plugin and I posted in that thread.
Forum: Approved Plugins 05-19-2018, 15:34
Replies: 371
Views: 189,707
Posted By fysiks
Re: Restrict Names 1.2a

You can search the internet for RegEx basics (look for perl-compatible regular expressions "PCRE" and you can ignore the information about flags in the pattern). Then, simply test things out.

For...
Forum: Suggestions / Requests 05-19-2018, 14:43
Replies: 21
Views: 377
Posted By fysiks
Re: CS 1.6 Ban Name Plugin Modification

And what exactly are you expecting to happen by doing this? It certainly won't do anything to satisfy the OP's original request.
Forum: Suggestions / Requests 05-17-2018, 21:14
Replies: 7
Views: 605
Posted By fysiks
Re: Ban Names

You can handle this with Restrict Names (https://forums.alliedmods.net/showthread.php?t=17363) by using RegEx.
Forum: Scripting Help 05-16-2018, 22:19
Replies: 10
Views: 237
Posted By fysiks
Re: About all the scripting functions/callbacks

Also note that the API documentation on the website is referencing the beta version of AMX Mod X (v1.8.3-beta) and not the currently released version (v1.8.2). A lot of things will be the same but...
Forum: Scripting Help 05-15-2018, 20:18
Replies: 8
Views: 163
Posted By fysiks
Re: [ H3LP ] SetLights engine -> fakemeta

If engine works then you should use that. There is most often no good reason to convert to anything else if the original works just fine.
Forum: Suggestions / Requests 05-14-2018, 21:28
Replies: 5
Views: 110
Posted By fysiks
Re: If users.ini read only to auto close server?

If your plugin requires something that isn't allowed on the server, you should use set_failed_state() with an explanation of the issue instead of exiting the server.
Forum: Scripting Help 05-13-2018, 18:13
Replies: 5
Views: 119
Posted By fysiks
Re: Can Some One Fix IT ?

I explained the problem in my post.
Forum: Scripting Help 05-13-2018, 17:58
Replies: 5
Views: 119
Posted By fysiks
Re: Can Some One Fix IT ?

You should try and look at the code that causes the error (the number in the parentheses is the line number(s) in the source code). You are trying to assign 4 values to an array that only has 2...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 08:50.


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