Raised This Month: $10 Target: $400
 2% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Sylwester
Forum: Suggestions / Requests 10-28-2014, 23:19
Replies: 5
Views: 943
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, 05:38
Replies: 6
Views: 736
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, 07:35
Replies: 7
Views: 1,284
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, 19:35
Replies: 7
Views: 1,284
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, 12:44
Replies: 22
Views: 3,307
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, 10:22
Replies: 22
Views: 3,307
Posted By Sylwester
Re: Turn angle in period

This has nothing to do with your in-game fps.
Forum: Scripting Help 10-02-2014, 03:31
Replies: 22
Views: 3,307
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, 02:49
Replies: 22
Views: 3,307
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, 17:50
Replies: 6
Views: 650
Posted By Sylwester
Forum: Scripting Help 09-27-2014, 16:35
Replies: 6
Views: 650
Posted By Sylwester
Re: Help Optimize This Code

speed[dir] += (2 * _:(origin2[dir] > origin[dir]) - 1) * 3.0
Forum: Scripting Help 09-27-2014, 12:20
Replies: 6
Views: 650
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, 11:28
Replies: 3
Views: 504
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, 15:37
Replies: 22
Views: 2,611
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, 10:55
Replies: 22
Views: 2,611
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, 12:15
Replies: 2
Views: 472
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, 07:54
Replies: 10
Views: 1,258
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, 03:41
Replies: 10
Views: 1,258
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, 11:53
Replies: 6
Views: 1,360
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, 10:45
Replies: 6
Views: 1,360
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, 05:54
Replies: 5
Views: 1,902
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, 08:42
Replies: 5
Views: 859
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, 16:24
Replies: 9
Views: 1,096
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, 14:27
Replies: 9
Views: 1,096
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, 14:18
Replies: 9
Views: 1,096
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, 14:11
Replies: 9
Views: 1,096
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 12:24.


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