Raised This Month: $135 Target: $400
 33% 

Showing results 1 to 25 of 500
Search took 0.10 seconds.
Search: Posts Made By: KliPPy
Forum: Scripting Help Yesterday, 15:03
Replies: 15
Views: 147
Posted By KliPPy
Re: Duplicated reading?

They shouldn't for reading a file line by line.
Forum: Scripting Help Yesterday, 14:20
Replies: 15
Views: 147
Posted By KliPPy
Re: Duplicated reading?

Google "while feof" (it's same in C) , it's a common problem.
Forum: Scripting Help Yesterday, 11:31
Replies: 15
Views: 147
Posted By KliPPy
Re: Duplicated reading?

Instead of while( ! feof( iFilePointer ) ) try while( fgets( iFilePointer, szData, charsmax( szData ) ) ) and remove the fgets call from below that line.
Forum: Scripting Help Yesterday, 10:58
Replies: 7
Views: 112
Posted By KliPPy
Re: Questions: code execution time; nVault use optimization

The difference is so tiny you can consider it being the same, yes.
Forum: Scripting Help 08-17-2018, 06:46
Replies: 13
Views: 201
Posted By KliPPy
Re: Copy first 2 characters of a string into another string

Yes, it's that. You have done long division in elementary school, and long division occasionally had you left with a remainder. That's what the modulus operator returns.

You would use Unix time...
Forum: Scripting Help 08-17-2018, 05:12
Replies: 13
Views: 201
Posted By KliPPy
Re: Copy first 2 characters of a string into another string

Instead of saying "I don't get how modulus operator works" you should learn it, it's a basic concept that's taught in elementary school when you are like 11 or so (remember division remainders?)....
Forum: Suggestions / Requests 08-16-2018, 13:51
Replies: 6
Views: 175
Posted By KliPPy
Re: CS 1.6 Prevent VPN Connection Plugin

There isn't a way, that's how the internet protocol works.
Forum: Scripting Help 08-16-2018, 13:48
Replies: 28
Views: 1,235
Posted By KliPPy
Re: How to detect if server crashed?

Loading should be done on client_authorized - it gets called when the server resolves client's Steam ID. There's no guarantee how much time will pass until that and what other forwards will be called...
Forum: Scripting Help 08-16-2018, 11:49
Replies: 28
Views: 1,235
Posted By KliPPy
Re: How to detect if server crashed?

You read the vault file and then write it - you are reusing memory, it's not consuming more. The frequency doesn't matter.
Forum: Scripting Help 08-16-2018, 09:11
Replies: 28
Views: 1,235
Posted By KliPPy
Re: How to detect if server crashed?

Having a task has nothing to do with consuming memory.
Forum: Scripting 08-15-2018, 17:01
Replies: 3
Views: 90
Posted By KliPPy
Re: Function return string

Don't return strings, pass the output string as a parameter to the function.
Forum: Scripting Help 08-15-2018, 06:44
Replies: 25
Views: 539
Posted By KliPPy
Forum: Suggestions / Requests 08-15-2018, 06:36
Replies: 3
Views: 81
Posted By KliPPy
Re: needed hider plugin ?

@Relaxing return PLUGIN_HANDLED_MAIN instead. Also to be honest the best would be to hook SayText and block the message, not altering the "say" command at all.
Forum: Scripting Help 08-14-2018, 17:18
Replies: 14
Views: 165
Posted By KliPPy
Re: mysql / php thing

In your previous posts the error contained mysql_fetch_array yet there isn't a single call of that function in the provided code. Stop omitting important parts.
If you are passing $records to that...
Forum: Scripting Help 08-14-2018, 16:30
Replies: 14
Views: 165
Posted By KliPPy
Re: mysql / php thing

PHP code doesn't depend on your browser, it's executed on the server, you have something else going wrong. Unless you post more than one string nobody can help you.
Forum: Scripting Help 08-14-2018, 12:38
Replies: 14
Views: 165
Posted By KliPPy
Re: mysql / php thing

You didn't provide the code and the real (non-edited) error message, no one can help you.
Forum: General 08-14-2018, 09:19
Replies: 125
Views: 9,341
Posted By KliPPy
Re: [Editor] AMXXPawn for Visual Studio Code

I guess I'll take a look this evening.
Forum: Scripting Help 08-14-2018, 06:58
Replies: 16
Views: 183
Posted By KliPPy
Re: Add character in existing line

It doesn't work that way. It will only work provided the the new and old lines have the same length. As I said, files are streams, they can only be appended to or overwritten, you can't insert in the...
Forum: Scripting Help 08-14-2018, 06:53
Replies: 16
Views: 183
Posted By KliPPy
Re: Add character in existing line

No, that's how files work, they are streams, it's not AMXX's thing.
Forum: Scripting Help 08-14-2018, 04:38
Replies: 1
Views: 63
Posted By KliPPy
Re: Float precision

You can't, that's how IEEE754 single precision floating point numbers work, in every language. When formatting strings though you can use %.2f instead of just %f to display 2 digits after the decimal...
Forum: Scripting Help 08-14-2018, 04:35
Replies: 14
Views: 165
Posted By KliPPy
Re: mysql / php thing

Use GET parameters - site.com/records.php?map=%s.
Forum: Snippets and Tutorials 08-12-2018, 14:43
Replies: 13
Views: 506
Posted By KliPPy
Re: SQLite Helper

There's still processing of requests and disk IO, so threaded queries are still a good option.
Forum: Snippets and Tutorials 08-12-2018, 10:56
Replies: 13
Views: 506
Posted By KliPPy
Re: SQLite Helper

SQLite doesn't have any networking ability built into it, it's meant to be used only as a local database.
Forum: General 08-12-2018, 08:27
Replies: 125
Views: 9,341
Posted By KliPPy
Re: [Editor] AMXXPawn for Visual Studio Code

I don't know what you mean by that.
Forum: General 08-12-2018, 06:45
Replies: 125
Views: 9,341
Posted By KliPPy
Re: [Editor] AMXXPawn for Visual Studio Code

Don't use the Compile Local command, use Compile.
Showing results 1 to 25 of 500

 
Forum Jump

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


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