Raised This Month: $319 Target: $400
 79%   Almost there!

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Relaxing
Forum: Code Snippets/Tutorials 09-27-2021, 14:14
Replies: 0
Views: 393
Posted By Relaxing
[PHP] Modify users.ini from the browser

This helps you manage users.ini file in the browser.
auto-reloadadmins is featured, requires php-ssh2 & server launched with the "screen" command.
You can set it up to work on tmux if that's what...
Forum: Code Snippets/Tutorials 02-01-2021, 02:50
Replies: 7
Views: 2,083
Posted By Relaxing
Re: Reddit Puns using Python

You're right, it doesn't belong to this subforum nor intented to be a plugin.
Forum: Code Snippets/Tutorials 02-01-2021, 02:46
Replies: 2
Views: 3,319
Posted By Relaxing
Re: Communication between AMXX and Python using sockets

I'm not sure if what you're doing is wrong either. Maybe that's how it works. Servers use the default 127.0.0.1 and desktop computers use their own ip which is assigned from the router since there...
Forum: Code Snippets/Tutorials 12-13-2020, 19:09
Replies: 7
Views: 2,083
Posted By Relaxing
Re: Reddit Puns using Python

The plugin fetches a pun from the reddit page r/oneliners using the inter-process communication with Python which gets the json format of rising posts and prints a random joke on the chat.
It's more...
Forum: Code Snippets/Tutorials 12-12-2020, 03:02
Replies: 7
Views: 2,083
Posted By Relaxing
Re: Reddit Puns using Python

Fake UserAgent is required
https://pypi.org/project/fake-useragent/
easy-install pip3 install fake-useragent
Forum: Code Snippets/Tutorials 12-12-2020, 02:58
Replies: 7
Views: 2,083
Posted By Relaxing
Reddit Puns using Python

Test plugin of https://forums.alliedmods.net/showthread.php?t=329181
Command: /pun


Python script

import sys
import time
import datetime
import random
Forum: Code Snippets/Tutorials 12-12-2020, 02:55
Replies: 2
Views: 3,319
Posted By Relaxing
Communication between AMXX and Python using sockets

Python script

import socket

host = ''
port = 54500

s = socket.socket()
s.bind((host, port))
Forum: Code Snippets/Tutorials 11-09-2020, 17:06
Replies: 2
Views: 3,256
Posted By Relaxing
Re: [Python] Send Rcon commands from Discord

Hello, thank you
Hope you're doing well.
Forum: Code Snippets/Tutorials 11-08-2020, 15:15
Replies: 2
Views: 3,256
Posted By Relaxing
[Python] Send Rcon commands from Discord

See https://github.com/CrXane/DiscordRcon for more info.
Forum: Unapproved/Old Plugins 07-10-2020, 13:05
Replies: 5
Views: 4,930
Posted By Relaxing
Re: Player Activity

Added a cvar and removed the static value of search limit as requested by Napoleon_be (https://forums.alliedmods.net/member.php?u=149700)
Cvar: activity_search_limit - on default is set to '500' but...
Forum: Unapproved/Old Plugins 06-21-2020, 20:27
Replies: 5
Views: 4,930
Posted By Relaxing
Re: Player Activity

Added a search option for amx_activity command.
If you call the command without arguments it will print current players' total playtime.
Adding an argument will search for a specific player. If...
Forum: Suggestions / Requests 06-21-2020, 05:44
Replies: 8
Views: 614
Posted By Relaxing
Re: [REQ] Word Color

replace_string(message, charsmax(message), " mr ", " &x05Mr&x04 ", false)
Forum: Suggestions / Requests 06-21-2020, 03:49
Replies: 8
Views: 614
Posted By Relaxing
Re: [REQ] Word Color

Set case sensitive to false and search for " mr " and replace that with " &x05Mr ".
http://amxmodx.org/api/string/replace_stringex
Forum: Suggestions / Requests 06-18-2020, 10:39
Replies: 11
Views: 986
Posted By Relaxing
Re: [Req] Skins+AmxWho

https://forums.alliedmods.net/showthread.php?t=317034
Forum: Code Snippets/Tutorials 06-17-2020, 23:50
Replies: 5
Views: 5,969
Posted By Relaxing
Forum: New Plugin Submissions 06-17-2020, 18:17
Replies: 93
Views: 11,784
Posted By Relaxing
Re: Reports System v3.1 [UPDATED 07/21/2019]

Cool plugin. Just modified it so whenever someone sends a report I get an instant notification on discord and on my website.
Forum: New Plugin Submissions 06-16-2020, 18:23
Replies: 16
Views: 5,047
Posted By Relaxing
Re: [BB] BaseBuilder Shop

You can really improve the code using bits, bugsy did a tutorial explaining how they work.
https://forums.alliedmods.net/showthread.php?t=139916
53 results of PLUGIN_HANDLED
holy
Forum: Scripting Help 06-16-2020, 03:26
Replies: 1
Views: 483
Posted By Relaxing
Re: Give reward if the player has tag

#include <amxmodx>
#include <amxmisc>
#define printf client_print_color

#define PLUGIN "Rewards"
#define VERSION "1.0"
#define AUTHOR "kha"

native zp_ammopacks_set(id, ammopacks)
native...
Forum: New Plugin Submissions 06-16-2020, 02:14
Replies: 64
Views: 15,086
Posted By Relaxing
Re: Cross-Game Chatter v1.5 [Discord <-> AMXX]

I can't run the script on python3
Forum: New Plugin Submissions 06-15-2020, 06:46
Replies: 64
Views: 15,086
Posted By Relaxing
Forum: HL1 Servers (HLDS) 06-14-2020, 20:57
Replies: 12
Views: 2,630
Posted By Relaxing
Re: [HELP] Server is Lag

Disable mmtimer and on launch settings add +fps_max 1000 +sys_tickrate 1000
Forum: Suggestions / Requests 06-14-2020, 03:46
Replies: 3
Views: 610
Posted By Relaxing
Re: [Req] Transfer to CT those who retries

Try if this kicks you from reconnecting and if so change it to set the team.


#include <amxmodx>
#define RETRY 20

new Trie:trie;
new steamid[MAX_PLAYERS+1][32];

public plugin_init(){
Forum: Suggestions / Requests 06-13-2020, 00:37
Replies: 2
Views: 571
Posted By Relaxing
Re: Need Help Plugin Adversting Rename

Use this Regex patter, it detects wether the message contains more than 7 numbers or not. (\d.*){7}
Forum: HL1 Servers (HLDS) 06-12-2020, 10:59
Replies: 9
Views: 2,106
Posted By Relaxing
Re: I want to start hosting cs 1.6 server

If you're familiar with linux environment, you can even use a 512mb Ram if you're running a single server. The server alone with no players consumes around 80mb of ram.
Forum: Scripting Help 06-12-2020, 10:54
Replies: 6
Views: 681
Posted By Relaxing
Re: what is format and formatex?

There's no need to be rude. Everyone started like this. I remember browsing the API like trying to read runes.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 16:29.


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