Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Sylwester
Forum: Suggestions / Requests 10-28-2014, 22:19
Replies: 5
Views: 1,223
Posted By Sylwester
Re: [SUG] Duplicate Files

I did it on windows with mklink and it works. I recommend creating shell script that will set it up for you since doing everything manually would take a lot of time.
Forum: Scripting Help 10-18-2014, 04:38
Replies: 6
Views: 1,043
Posted By Sylwester
Re: NPC AIM

try

set_pev(npc, pev_angles, angles)
set_pev(npc, pev_fixangle, 1)
Forum: Scripting Help 10-15-2014, 06:35
Replies: 7
Views: 2,041
Posted By Sylwester
Re: SQLite local database

From my experience I can say that login data does not matter when using sqlite, but still most of my plugins use similar code to what YamiKaitou posted ("127.0.0.1", "root", "", ...).

Some mysql...
Forum: Scripting Help 10-14-2014, 18:35
Replies: 7
Views: 2,041
Posted By Sylwester
Re: SQLite local database

You need to make sure that sqlite module is running (you can start it from plugin with #pragma loadlib sqlite).
If mysql module is running too then you have to use SQL_SetAffinity("sqlite") before...
Forum: Scripting Help 10-02-2014, 11:44
Replies: 22
Views: 4,075
Posted By Sylwester
Re: Turn angle in period

I'm not sure what your point is. You need 60 or more in-game fps to get best experience, but there is no point in making AI think more than 20-30 times per second.
Forum: Scripting Help 10-02-2014, 09:22
Replies: 22
Views: 4,075
Posted By Sylwester
Re: Turn angle in period

This has nothing to do with your in-game fps.
Forum: Scripting Help 10-02-2014, 02:31
Replies: 22
Views: 4,075
Posted By Sylwester
Re: Turn angle in period

What is often? If it's like every 0.05 sec then it's not a problem. If you don't like that many natives then you can easily replace most of xs_vec_* with macros. Even if this is more advanced than...
Forum: Scripting Help 10-02-2014, 01:49
Replies: 22
Views: 4,075
Posted By Sylwester
Re: Turn angle in period

is this what you are trying to do?

#include <amxmodx>
#include <xs>
#include <fakemeta>

#define INTERVAL 0.3
#define ANGLE_CHANGE 1.0 //degrees
#define BEAM_LEN 100.0
Forum: Scripting Help 09-27-2014, 16:50
Replies: 6
Views: 881
Posted By Sylwester
Forum: Scripting Help 09-27-2014, 15:35
Replies: 6
Views: 881
Posted By Sylwester
Re: Help Optimize This Code

speed[dir] += (2 * _:(origin2[dir] > origin[dir]) - 1) * 3.0
Forum: Scripting Help 09-27-2014, 11:20
Replies: 6
Views: 881
Posted By Sylwester
Re: Help Optimize This Code

public rg( id )
{
pev(id, pev_origin, origin2)
new Float:Dx[1], Float:Dy[1]
Dx[0] = origin2[0] - origin[0]
Dy[0] = origin2[1] - origin[1]

new dir = Dx[0]*Dx[0] < Dy[0]*Dy[0]

...
Forum: Scripting Help 09-04-2014, 10:28
Replies: 3
Views: 772
Posted By Sylwester
Re: SQl problems.

1: try
set_task(1.5, "Prepare");->
Prepare();2: You made creation of the tuple overly complicated.
Why did you make it into native?
Why is your custom native name the same as default sqlx native...
Forum: Off-Topic 08-01-2013, 14:37
Replies: 22
Views: 3,366
Posted By Sylwester
Re: Is this pc good/great/bad/sux?

It may be fine for his needs, but it's a total rip off. He could get almost the same specs for about half the price if he assembled those computers himself or he could hire someone to assemble them.
Forum: Off-Topic 08-01-2013, 09:55
Replies: 22
Views: 3,366
Posted By Sylwester
Re: Is this pc good/great/bad/sux?

It sux. Do not buy that. $1600 gaming pc with a single gtx 660... yeah right -.-
Your best option is to build it yourself. Here are some examples:...
Forum: Scripting Help 07-24-2013, 11:15
Replies: 2
Views: 635
Posted By Sylwester
Re: How do I create this MySQL table?

CREATE TABLE IF NOT EXISTS `hb_admin` (`steamid` VARCHAR(36) PRIMARY KEY, `expire` DATETIME);
Forum: Scripting Help 07-23-2013, 06:54
Replies: 10
Views: 1,762
Posted By Sylwester
Re: [New style menu] +1 will appear [}]

I think it's done client side. This is useful if you want to do menu with options that can be activated with keys that are more convenient than 0 - 9.
Forum: Scripting Help 07-23-2013, 02:41
Replies: 10
Views: 1,762
Posted By Sylwester
Re: [New style menu] +1 will appear [}]

It happens in old style menus too. When you display in menu text +<something> it will be replaced with [<key>], if +<something> is a command bound to that <key>. For example if you try to display...
Forum: Scripting Help 07-16-2013, 10:53
Replies: 6
Views: 1,865
Posted By Sylwester
Re: Mysql import problem (uppercase and lowercase)

utf8_general_ci is case-insensitive. Change it to utf8_general_cs and try again...
Forum: Scripting Help 07-16-2013, 09:45
Replies: 6
Views: 1,865
Posted By Sylwester
Re: Mysql import problem (uppercase and lowercase)

http://stackoverflow.com/questions/4879846/how-to-configure-mysql-to-be-case-sensitive
Forum: Scripting Help 07-14-2013, 04:54
Replies: 5
Views: 2,344
Posted By Sylwester
Re: A2S_PLAYER players played time problem

You are doing it wrong. str_to_float converts from string to float (example string: "23.7"), but what you have stored in szBuffer array is not a string. It's actually the 32bit float split into 4...
Forum: Scripting Help 07-12-2013, 07:42
Replies: 5
Views: 1,158
Posted By Sylwester
Re: sqlite in sqlx...

SQL_Connect returns connection handle. You would only need it for SQL_QuoteString or if you need to send non-threaded queries in plugin_end() or plugin_init().
Forum: Suggestions / Requests 07-11-2013, 15:24
Replies: 9
Views: 1,381
Posted By Sylwester
Re: Duplicate server info !

I checked it and unfortunately simple fix won't do and I don't have time to rewrite it now.
Forum: Suggestions / Requests 07-11-2013, 13:27
Replies: 9
Views: 1,381
Posted By Sylwester
Re: Duplicate server info !

If noone is going to play on it and noone is going to be redirected then what's the point of running such server?
Forum: Suggestions / Requests 07-11-2013, 13:18
Replies: 9
Views: 1,381
Posted By Sylwester
Re: Duplicate server info !

This plugin does not make a copy of another server. It turns your server into fake server which only purpose is to redirect to another server (it only copies details visible in server browser). You...
Forum: Suggestions / Requests 07-11-2013, 13:11
Replies: 9
Views: 1,381
Posted By Sylwester
Re: Duplicate server info !

You can no longer redirect after recent hlds update.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 09:21.


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