Raised This Month: $433 Target: $400
 108% 

Showing results 1 to 25 of 500
Search took 0.26 seconds.
Search: Posts Made By: Relaxing
Forum: New Plugin Submissions Today, 03:27
Replies: 18
Views: 1,997
Posted By Relaxing
Re: AmxXDMT (Amx Mod X Discord Message Transmitter) v1.0 (Stable)

Take a look at this thread and come up with a way to stop using set_task every 0.1s.
https://forums.alliedmods.net/showthread.php?t=169315

# AMXX_VERSION_NUM < 190
#define _socket_get(%1)...
Forum: New Plugin Submissions 03-26-2020, 21:37
Replies: 18
Views: 1,997
Posted By Relaxing
Re: AmxXDMT (Amx Mod X Discord Message Transmitter) v1.0 (Stable)

Hi, great plugin.
Any chance you can port it to Python.
Forum: New Plugin Submissions 03-08-2020, 00:24
Replies: 1
Views: 496
Posted By Relaxing
Player Activity

Player Activity saves player's total playtime on a database for statistical purposes.

Commands:
say /activity - displays current playtime and all time activity
amx_activity (flag: m) - displays...
Forum: Off-Topic 03-01-2020, 02:41
Replies: 0
Views: 426
Posted By Relaxing
Forum: Scripting Help 08-28-2019, 16:17
Replies: 7
Views: 693
Posted By Relaxing
Re: Color Code Of Golden Color

So where's the script?
Forum: Suggestions / Requests 08-23-2019, 15:31
Replies: 6
Views: 541
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, 15:17
Replies: 6
Views: 541
Posted By Relaxing
Re: Command used twice

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

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

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

[ spoiler]hi[/spoiler]
Forum: Suggestions / Requests 08-19-2019, 15:57
Replies: 9
.
Views: 546
Posted By Relaxing
Re: .

Wow that's super rude
Forum: Scripting Help 08-14-2019, 18:24
Replies: 2
Views: 605
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, 15:40
Replies: 37
Views: 1,679
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, 17:06
Replies: 3
Views: 383
Posted By Relaxing
Re: [Problem] Timelimit

amxx.cfg maybe?
Forum: Suggestions / Requests 08-08-2019, 15:43
Replies: 30
Views: 1,098
Posted By Relaxing
Forum: Suggestions / Requests 08-08-2019, 14:43
Replies: 30
Views: 1,098
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, 07:19
Replies: 13
Views: 2,513
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, 15:39
Replies: 30
Views: 1,098
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, 07:52
Replies: 11
Views: 3,586
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, 17:31
Replies: 5
Solved String
Views: 429
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, 17:06
Replies: 12
Views: 690
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, 16:42
Replies: 12
Views: 690
Posted By Relaxing
Re: some Commands Menu

If this is a game bug report it on GitHub.
Forum: Suggestions / Requests 08-05-2019, 12:56
Replies: 37
Views: 1,679
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, 12:15
Replies: 37
Views: 1,679
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, 09:16
Replies: 37
Views: 1,679
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(){
Showing results 1 to 25 of 500

 
Forum Jump

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


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