Raised This Month: $63 Target: $400
 15% 

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: Relaxing
Forum: Scripting Help 08-28-2019, 17:17
Replies: 7
Views: 574
Posted By Relaxing
Re: Color Code Of Golden Color

So where's the script?
Forum: Suggestions / Requests 08-23-2019, 16:31
Replies: 6
Views: 458
Posted By Relaxing
Re: Command used twice

new array[33];

public command(id){
if (array[id])
array[id] = 0;
else array[id] = 1;

if (array[id]){
// activated
} else {
Forum: Suggestions / Requests 08-23-2019, 16:17
Replies: 6
Views: 458
Posted By Relaxing
Re: Command used twice

Switch to arrays
Forum: Suggestions / Requests 08-23-2019, 13:29
Replies: 6
Views: 458
Posted By Relaxing
Re: Command used twice

Yep, using booleans.
Forum: Off-Topic 08-20-2019, 18:02
Replies: 5
Views: 2,079
Posted By Relaxing
Re: One easy question

This section is called Off Topic, chill.
Forum: Off-Topic 08-20-2019, 15:46
Replies: 5
Views: 2,079
Posted By Relaxing
Re: One easy question

[ spoiler]hi[/spoiler]
Forum: Suggestions / Requests 08-19-2019, 16:57
Replies: 10
.
Views: 467
Posted By Relaxing
Re: .

Wow that's super rude
Forum: Scripting Help 08-14-2019, 19:24
Replies: 2
Views: 542
Posted By Relaxing
Re: Online chart maker

Source Code:

// some warnings never hurts
#include <amxmodx>

// uncomment to remove warnings
// #pragma tabsize 0

#define MACRO_WRITE(%1,%2) for(new i = %1; i < %2; i++){\...
Forum: Suggestions / Requests 08-10-2019, 16:40
Replies: 37
Views: 1,428
Posted By Relaxing
Re: Block IP Pattern (With Spaces)

https://regexr.com
No match: 123.456.789.123:27015
Forum: Suggestions / Requests 08-08-2019, 18:06
Replies: 3
Views: 344
Posted By Relaxing
Re: [Problem] Timelimit

amxx.cfg maybe?
Forum: Suggestions / Requests 08-08-2019, 16:43
Replies: 30
Views: 906
Posted By Relaxing
Forum: Suggestions / Requests 08-08-2019, 15:43
Replies: 30
Views: 906
Posted By Relaxing
Re: Add Happy Hour some Flags etc Please

Just call the checks on putingserver.

http://amxmodx.org/api/amxmisc/has_flag
// in this case
if (!is_user_admin(id) || has_flag(id, "y")){
set_user_flags(id, ADMIN_LEVEL_H);
}
Forum: New Plugin Submissions 08-08-2019, 08:19
Replies: 13
Views: 1,846
Posted By Relaxing
Re: Buy *New*

@buy_new & @buy_new_default you should've used enum multidimensional arrays. It would save you a lot of time and effort.
Forum: Suggestions / Requests 08-07-2019, 16:39
Replies: 30
Views: 906
Posted By Relaxing
Re: Add Happy Hour some Flags etc Please

#define FLAGS "wy"

new BIT = read_flags(FLAGS);

set_user_flags(index, BIT)

Also you should change this
public client_PostThink( id )
{
if(!is_user_alive(id) || is_user_bot(id))
Forum: General 08-06-2019, 08:52
Replies: 11
Views: 3,180
Posted By Relaxing
Re: Online Music Player CS 1.6 [Without client download]

https://support.steampowered.com/kb_article.php?ref=9394-yofv-0014
Thread solved
Forum: Scripting Help 08-05-2019, 18:31
Replies: 5
Solved String
Views: 389
Posted By Relaxing
Re: String

Do you want to get 5 random indexes from an array and put them to a vote menu?
Forum: Suggestions / Requests 08-05-2019, 18:06
Replies: 12
Views: 596
Posted By Relaxing
Re: some Commands Menu

To clarify, you're claiming that someone is using a trick to communicate over +voicerecord to all players.
Forum: Suggestions / Requests 08-05-2019, 17:42
Replies: 12
Views: 596
Posted By Relaxing
Re: some Commands Menu

If this is a game bug report it on GitHub.
Forum: Suggestions / Requests 08-05-2019, 13:56
Replies: 37
Views: 1,428
Posted By Relaxing
Re: Block IP Pattern (With Spaces)

Spamming is super hard to avoid.
Well you could add a whitelist but I can bypass it typing in chat:
<whitelist text> connect to my server 123.456.789.101
Forum: Suggestions / Requests 08-05-2019, 13:15
Replies: 37
Views: 1,428
Posted By Relaxing
Re: Block IP Pattern (With Spaces)

#include <amxmodx>
#include <regex>

#define PATTERN "(\d.*){8}"

new whitelist[][] = {
"123.456.789.101:27099",
"123.456.789.101",
"yeah"
}
Forum: Suggestions / Requests 08-05-2019, 10:16
Replies: 37
Views: 1,428
Posted By Relaxing
Re: Block IP Pattern (With Spaces)

A quick search: https://forums.alliedmods.net/showpost.php?p=1642117&postcount=3

#include <amxmodx>
#include <regex>

#define PATTERN "(\d.*){8}"

new Regex:re, ret;

public plugin_init(){
Forum: New Plugin Submissions 08-04-2019, 20:01
Replies: 109
Views: 10,789
Posted By Relaxing
Re: Elite Admin System v4.2 [+Bans, Gags, Ranks] [05/08/2019]

strftime(date, 31, "%m/%d/%Y - %H:%M:%S", localtime(&td));
log_* always log messages with full date and time, there's no need to get time again.
Forum: Suggestions / Requests 08-04-2019, 19:55
Replies: 37
Views: 1,428
Posted By Relaxing
Re: Block IP Pattern (With Spaces)

#define PATTERN "(\d.*){9}"
I would recommend you this. It turns true when you've typed 9 or more numbers on chat.
The order doesn't matter.
Forum: Scripting Help 08-01-2019, 16:46
Replies: 16
Views: 618
Posted By Relaxing
Re: *DEAD* Tab

These comments are hilarious
Forum: Suggestions / Requests 08-01-2019, 11:34
Replies: 7
Views: 445
Posted By Relaxing
Re: Preparation time - Plugin

https://forums.alliedmods.net/showthread.php?p=1198524
Are you using the latest version?
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 05:03.


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