Raised This Month: $235 Target: $400
 58% 

Showing results 1 to 25 of 387
Search took 0.06 seconds.
Search: Posts Made By: Mofforg
Forum: Scripting Help 12-02-2014, 23:38
Replies: 9
Views: 1,020
Posted By Mofforg
Re: error 035: argument type mismatch (argument 1)

Thanks, that's an ideal of accepting both userid and username. I made your way, now works! I can use only client_command through (can not BanCmd) because bansystem is closed-source and i can not edit...
Forum: Scripting Help 12-02-2014, 22:11
Replies: 9
Views: 1,020
Posted By Mofforg
Re: error 035: argument type mismatch (argument 1)

It listen to commands and if it finds a command "amx_internalbancommand" it make some actions (well, it just logs it, but not important here).

Example command: amx_internalbancommand #31

Where...
Forum: Scripting Help 12-02-2014, 21:46
Replies: 9
Views: 1,020
Posted By Mofforg
Re: error 035: argument type mismatch (argument 1)

Ok, but how to convert integer to string?
Forum: Scripting Help 12-02-2014, 21:37
Replies: 9
Views: 1,020
Posted By Mofforg
error 035: argument type mismatch (argument 1)

Hi.


Can not beat that error error 035: argument type mismatch (argument 1)

I've searched a lot but all i find in posts is easy errors (like adding 'id' when it don't need to be added or words...
Forum: News 07-09-2014, 20:26
Replies: 20
Views: 25,408
Posted By Mofforg
Re: New Maintainer, Transition to GitHub

That's really superb decision to move to GitHub.
Forum: New Plugin Submissions 03-12-2014, 06:55
Replies: 31
Views: 9,162
Posted By Mofforg
Re: AntiRoxx 5 (05 jan 2014)

Connor, i think that you should change a bit logic of the plugin. This plugin is for balance, but why do you store earlier results? It's not rational. Wtf i have players very good players on my...
Forum: Suggestions / Requests 03-05-2014, 07:21
Replies: 0
Views: 206
Posted By Mofforg
[REQ] Give player a chance to miss when shooting

Hi!


I was thinking that giving some cheaters/abusers/ e.t.c anti-vip features like 60% chance to miss and 75% chance to miss if headshot - can be really useful. Cheater/abuser can play but he'll...
Forum: Suggestions / Requests 12-25-2013, 20:24
Replies: 34
Views: 5,619
Posted By Mofforg
Re: [BETA] Domination

ot, why to post same plugin in two parts of forum?
https://forums.alliedmods.net/showthread.php?t=100827
Forum: HL1 Servers (HLDS) 08-23-2013, 12:05
Replies: 4
Views: 947
Posted By Mofforg
Playing bot's for CS 1.6?

Hello all.


I want to add some playing bot's to my servers, because there are sometimes less players.

Is there any other playing bot's, expect podbot?
Forum: Scripting Help 08-21-2013, 14:30
Replies: 2
Views: 2,451
Posted By Mofforg
Re: error 028: invalid subscript (not an array or too many subscripts): "bhop"

AAhhhhh, thanks.

I am first time working with variables for every players separately from the zero.
Forum: Scripting Help 08-21-2013, 14:13
Replies: 2
Views: 2,451
Posted By Mofforg
error 028: invalid subscript (not an array or too many subscripts): "bhop"

Hello all.


I have a simple plugin called 'auto bhop', it enables bhop for everyone with chat command (by default it's disabled [false]), here's a part of it:

static bool:bhop=false

public...
Forum: Suggestions / Requests 08-21-2013, 13:19
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

Again.

Server connected via NAT. It's net_address is 192.168.1.2:27015. I can not use net_address to determinate real IP.
Forum: Suggestions / Requests 08-21-2013, 12:13
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

net_address && ip && port - simple cvars and can be changed like all others.

Well let's said it's ideal situation, but the server connected to internet via NAT. It's net_address is...
Forum: Suggestions / Requests 08-21-2013, 11:39
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

The system is designed this way. It making actions depending on server state. If the IP defined incorrectly, then it would be messed up and working in a wrong way.
Forum: Suggestions / Requests 08-21-2013, 10:27
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

I used to make a plugin, which should know server IP to choose how to react. But if some guy would place the wrong ip, it could break my system or damage other users. That's why i need to make it...
Forum: Suggestions / Requests 08-21-2013, 10:09
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

It can be changed with console.... I could not rely on cvars.
Forum: Suggestions / Requests 08-21-2013, 09:51
Replies: 20
Views: 3,752
Posted By Mofforg
Re: How to check server ip/port

It's just retreiving values 'ip' and 'port', which can be changed/misconfigured easily. I am looking for a way to detect ip correctly.
Forum: Suggestions / Requests 08-21-2013, 05:22
Replies: 20
Views: 3,752
Posted By Mofforg
How to check server ip/port

Hello all.


I am looking for a way to check current server ip/port to list it on MySQL.

The problem is retreiving values from 'ip' and 'port' is not correct, because it can be faked/seted...
Forum: Suggestions / Requests 08-17-2013, 22:43
Replies: 5
Views: 644
Posted By Mofforg
Re: Enforcing Cstrike Version

Can you give a code example?
Forum: New Plugin Submissions 07-30-2013, 04:15
Replies: 31
Views: 9,162
Posted By Mofforg
Re: AntiRoxx 5 (15 jul 2013)

reuploaded. Duplicate line :D
Forum: New Plugin Submissions 07-30-2013, 04:01
Replies: 31
Views: 9,162
Posted By Mofforg
Re: AntiRoxx 5 (15 jul 2013)

When i have translation i gonna test and change motd.
Forum: Scripting Help 07-16-2013, 10:21
Replies: 2
Views: 761
Posted By Mofforg
Re: error 023: array assignment must be simple assignment

Eeee, i am stupid.

This way?

formatex (s_Out, 191, "^1%s", p_Name)

if (get_user_flags(id) & ADMIN_CHAT)
{
formatex (s_Out, 191, "%s^1[^4Admin^1]:^4", s_Out)
s_Color = true
Forum: Scripting Help 07-16-2013, 10:10
Replies: 2
Views: 761
Posted By Mofforg
error 023: array assignment must be simple assignment

Here's a part of custom translit plugin to translate symbols and add some info to msg.

new p_Name[32]
get_user_name(id,p_Name,31)

format (s_Out, 191, "^1%s", p_Name)

if...
Forum: New Plugin Submissions 07-16-2013, 09:45
Replies: 31
Views: 9,162
Posted By Mofforg
Re: AntiRoxx 5 (15 jul 2013)

Connor, nice plugin.

Why don't you return PLUGIN_HANDLED on ClCmd_AntiRoxx? It's better to hide all commands from chat.
Forum: Scripting Help 07-16-2013, 09:42
Replies: 17
Views: 1,257
Posted By Mofforg
Re: random_num issue

Thank you guys.
Showing results 1 to 25 of 387

 
Forum Jump

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


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