SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Y_Less
Forum: Scripting Help 14/02/2018, 03:22 PM
Replies: 10
Views: 134
Posted By Y_Less
Re: TextDraw

You will probably get errors if you try write your own as well. It is much simpler to use a widely-used and well tested include and fix the errors there, than to try and write your own from scratch.
Forum: Scripting Help 13/02/2018, 08:39 PM
Replies: 4
Views: 93
Posted By Y_Less
Re: Password hash question

Don't use either, stick to BCrypt.
Forum: Includes 13/02/2018, 04:07 PM
Replies: 50
Views: 11,508
Posted By Y_Less
Re: Vehicle Extended Functions

No, if you don't have permission to redistribute from the original author, you cannot do so, even if you think you should. If you have explicit permission, you should prove it; if the include has an...
Forum: Includes 13/02/2018, 03:45 PM
Replies: 50
Views: 11,508
Posted By Y_Less
Re: Vehicle Extended Functions

I wasn't talking about this include specifically, but the entire "SAMP" repo. You wanted to know why he was (clearly you were) banned, I told you.

Includes taken without redistribtuion...
Forum: Includes 13/02/2018, 03:20 PM
Replies: 50
Views: 11,508
Posted By Y_Less
Re: Vehicle Extended Functions

I made a github issue linking to several stolen files with links to the originals - no "detection" needed. The response was to disable issues and pull requests - that is not "working" communication....
Forum: Includes 13/02/2018, 03:01 PM
Replies: 50
Views: 11,508
Posted By Y_Less
Re: Vehicle Extended Functions

Not "no reason". He repeatedly stole code from a range of scripters, then when people told him, shut down all communication methods rather than fixing the problem.
Forum: Scripting Help 07/02/2018, 10:59 AM
Replies: 4
Views: 116
Posted By Y_Less
Re: Who know if this php function works on pawn?

1) Don't invent your own hash system, use the BCrypt plugin.

2) For a hash to be good, it needs to take a long time (so it is hard to bruteforce). This means if you do the hashing in an include...
Forum: Scripting Help 07/02/2018, 02:23 AM
Replies: 7
Views: 285
Posted By Y_Less
Re: How to reduce the data size. It's about 100M [Need Help]

If it is needed, why are you trying to get rid of it? Is 100Mb straining your RAM? I can understand why it might be a problem for uploading, but I bet it will zip or tar up very small for transfer.
Forum: General 04/02/2018, 06:22 PM
Replies: 17
Views: 1,129
Posted By Y_Less
Re: [no.1] Scripting challange [Ferris Wheel] !

Just pointing out that your protection suggestion goes against the explicit rules of the forums where all releases must include all source code. However, I'm not a mod so if the topic gets removed...
Forum: Scripting Help 04/02/2018, 11:34 AM
Replies: 3
Views: 200
Posted By Y_Less
Re: (+rep) How to use #ERROR ?

#define COLOUR_WARN "{AAAA00}"
#define COLOUR_ERROR "{FF0000}"
#define COLOUR_WELCOME "{00AAAA}"

#define PREFIX COLOUR_WARN "N-AC" COLOUR_INFO


Define styles by their use. Not things like...
Forum: General 04/02/2018, 10:21 AM
Replies: 17
Views: 1,129
Posted By Y_Less
Re: [no.1] Scripting challange [Ferris Wheel] !

So what I said?



Again, what I said, I just suggested you start it.



Your refusal to release the code you claim you have after reasonable suggestions that if you want a competition you...
Forum: Scripting Help 04/02/2018, 10:15 AM
Replies: 3
Views: 200
Posted By Y_Less
Re: (+rep) How to use #ERROR ?

You can't compare strings in the pre-processor. Anyway, why would you want to prevent people from customising their own script? Especially when you have hard-coded colours in that string, which is...
Forum: General 03/02/2018, 01:51 PM
Replies: 17
Views: 1,129
Posted By Y_Less
Re: [no.1] Scripting challange [Ferris Wheel] !

This smells a lot like a cunning method to get free code, especially since you haven't offered anything. If you're on the level and truly presenting this as a challenge not a veiled attempt to get...
Forum: Includes 02/02/2018, 12:08 AM
Replies: 2
Views: 545
Posted By Y_Less
Re: documented default sa-mp includes

You might consider this outside the scope of what you are doing here (which is great by the way). One small change I've always wished the default includes had, but never done as I didn't want to...
Forum: Tools and Files 02/02/2018, 12:03 AM
Replies: 2
[Tool/Web/Other] Improved pawn doc style
Views: 656
Posted By Y_Less
Re: Improved pawn doc style

Nice. Too few people use this. One small personally subjective point - I like the look, when it is scaled to about 80% of current size. Right now everything is quite huge.

This is the custom...
Forum: Scripting Help 01/02/2018, 11:46 AM
Replies: 4
Views: 177
Posted By Y_Less
Re: Unlimited amount?

new Iterator:OwnedVehicle<MAX_PLAYERS, MAX_VEHICLES>;
Forum: Scripting Help 01/02/2018, 11:29 AM
Replies: 6
Views: 137
Posted By Y_Less
Re: can gmx cause bugs?

Filterscripts receive the OnGameModeInit callback as well as OnFilterScriptInit. If you want to load things from filterscripts, do it in there.
Forum: General 01/02/2018, 10:02 AM
Replies: 3
Views: 671
Posted By Y_Less
Re: why is SAMP SDK / sampgdk so C?

C is the most generic base language. That means you can create the wrappers you want for the language you want, and other people can create the wrappers they want for the language they want. If it...
Forum: Scripting Help 29/01/2018, 11:17 AM
Replies: 9
Views: 186
Posted By Y_Less
Re: I can just use a lower string?

Have you proven this code is the slowest part of your mode through profiling?



Because that's a terrible idea.
Forum: Includes 28/01/2018, 04:24 PM
Replies: 154
[Include] YSI 4
Views: 49,109
Posted By Y_Less
Re: YSI 4

Is that a custom callback? And if so, how are you calling it initially?
Forum: Includes 27/01/2018, 01:23 PM
Replies: 154
[Include] YSI 4
Views: 49,109
Posted By Y_Less
Re: YSI 4

That just means one of your other includes also defines `isnull`, and does it differently. Delete one of the definitions.
Forum: Everything and Nothing 18/01/2018, 03:34 PM
Replies: 11
Views: 1,454
Posted By Y_Less
Re: Loaded AMX viewer

1) I agree with Southclaws, some sort of generic library.

2) Don't update. It is hard to fix code issues on a different VM. I'd say don't even fix VM bugs. If the SA:MP server has a bug, leave...
Forum: Scripting Help 16/01/2018, 12:27 AM
Replies: 13
Views: 421
Posted By Y_Less
Re: >>> Help me learn PAWN <<<

I just read this as:



If you want to code well. Get used to reading. I learned by reading that documentation several times, and to this day people still wonder why I seem to know more than...
Forum: Everything and Nothing 09/01/2018, 01:11 PM
Replies: 11
Views: 1,454
Posted By Y_Less
Re: Loaded AMX viewer

As I said, I'd really suggest starting from the crashdetect plugin. While I know there is a feature for breaking on BREAK (that is why it exists after all), it doesn't quite give the level of...
Forum: Everything and Nothing 08/01/2018, 02:11 PM
Replies: 11
Views: 1,454
Posted By Y_Less
Re: Loaded AMX viewer

This is quite freaky timing. I've been thinking of something similar for a while, but hadn't actually mentioned it to anyone until yesterday when I was talking on Discord with Amagida. What I was...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.