SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.06 seconds.
Search: Posts Made By: Y_Less
Forum: Scripting Help 23/09/2018, 08:19 AM
Replies: 4
Views: 63
Posted By Y_Less
Re: Property map

So you now both the release topic and the github repository. Why didn't you ask in one of them instead of making a new topic. The author is far more likely to see your question in the places they set...
Forum: Scripting Help 23/09/2018, 06:36 AM
Replies: 11
Views: 229
Posted By Y_Less
Re: y_timers question

Ah, that will stay, yes. I might even make hooking more officially supported in some way.
Forum: Scripting Help 22/09/2018, 11:41 PM
Replies: 2
Views: 75
Posted By Y_Less
Re: Random spawn coords in a gangzone

From YSI:


new Float:x = FloatRandom(minx, maxx);
new Float:y = FloatRandom(miny, maxy);
Forum: Scripting Help 22/09/2018, 11:15 PM
Replies: 11
Views: 229
Posted By Y_Less
Re: y_timers question

You can't depend on it, no... Also, I know why it hangs, might need to fix that.
Forum: Scripting Help 22/09/2018, 10:42 PM
Replies: 11
Views: 229
Posted By Y_Less
Re: y_timers question

No, I literally just wrote how to do that...
Forum: Scripting Help 22/09/2018, 05:44 PM
Replies: 11
Views: 229
Posted By Y_Less
Re: y_timers question

Yes, but there are several issues with your code:

1) The syntax for hooks is either Hook:function or hook function. You wrote hook:function which is neither, thatís why you got that warning.
...
Forum: Scripting Help 21/09/2018, 08:34 PM
Replies: 11
Views: 229
Posted By Y_Less
Re: y_timers question

Use ptask for players.
Forum: Scripting Help 19/09/2018, 10:07 PM
Replies: 2
Views: 59
Posted By Y_Less
Re: [debug] Run time error 4: "Array index out of bounds"

Because you have an array index out of bounds.
Forum: Everything and Nothing 19/09/2018, 05:12 PM
Replies: 80
Views: 3,700
Posted By Y_Less
Re: Welcome back, Y_Less!

I'm not too important at all (in fact I was surprised I was made beta tester again). However, contrary to popular belief, I don't actually see and read every forum topic, especially not those in...
Forum: Scripting Help 17/09/2018, 10:38 AM
Replies: 4
Views: 90
Posted By Y_Less
Forum: Scripting Help 17/09/2018, 10:21 AM
Replies: 4
Views: 90
Posted By Y_Less
Forum: Scripting Help 17/09/2018, 10:19 AM
Replies: 8
Views: 118
Posted By Y_Less
Re: Is it worth the MySQL samp normalization?

Option 1 is the more normalised one. Option 2 is just using your database as a fancy ini file. There are many important ways to normalise things that you should absolutely do - that isn't one.
Forum: Scripting Help 16/09/2018, 06:11 PM
Replies: 7
Views: 123
Posted By Y_Less
Re: Help with MYSQL 41-4

Please donít do that. The monolithic PlayerData enum is one of the worst long-standing practices about. Split your data up!
Forum: Scripting Help 16/09/2018, 04:34 PM
Replies: 3
Views: 97
Posted By Y_Less
Re: Optional string (sscanf)

Optional parameters must come last. "20" is a perfectly valid string (everything is a valid string), so sscanf sees you want a string, sees some text, and puts them together. Just do `id time...
Forum: Scripting Help 16/09/2018, 02:19 PM
Replies: 10
Views: 186
Posted By Y_Less
Re: ID 0 Bug

That generally just means you aren't setting the ID correctly.
Forum: Scripting Help 16/09/2018, 02:03 PM
Replies: 5
Views: 70
Posted By Y_Less
Re: error 025: function heading differs from prototype

You are missing `, Float:vel_x, Float:vel_y, Float:vel_z`
Forum: Scripting Help 16/09/2018, 10:36 AM
Replies: 15
Views: 296
Posted By Y_Less
Re: Minimizing lines

if(i != 19 || i != 20 || i != 21 || i != 23 || i != 24 || i != 25 || i != 27 || i != 28 || i != 29 || i != 30 || i != 31 || i != 33 \
|| i != 34 || i != 35 || i != 36 || i != 37...
Forum: Scripting Help 12/09/2018, 08:42 PM
Replies: 16
Views: 328
Posted By Y_Less
Re: YSI Warnings

Care to share how for future reference? y_scripting is extremely old, so my suggestion would be updating.
Forum: Scripting Help 12/09/2018, 12:26 PM
Replies: 11
Views: 288
Posted By Y_Less
Re: Money problem(-100$)

Use fixes.inc, this is just one of many bugs it solves.
Forum: Scripting Help 11/09/2018, 09:37 PM
Replies: 24
Views: 594
Posted By Y_Less
Re: Annoying sscanf id 0 debug

Again, this is why I gave you that link. It explains all about creating simplified reproducible tests. Simply saying it sometimes happens but not always isn't useful for testing, because if I try fix...
Forum: General 11/09/2018, 02:46 PM
Replies: 209
Views: 39,055
Posted By Y_Less
Re: Screenshots & Videos

Calling someone selfish and ignorant is really not going to help your case... Kalcor started this mod and ran it for over a decade, we've a huge amount to be thankful to him for, and don't forget...
Forum: General 11/09/2018, 02:26 PM
Replies: 209
Views: 39,055
Posted By Y_Less
Re: Screenshots & Videos

I didnít say open-source it. Thatís of course an option if Kalcor wants to, but unlike most people here I know why it isnít open-source.
Forum: General 11/09/2018, 01:47 PM
Replies: 209
Views: 39,055
Posted By Y_Less
Re: Screenshots & Videos

There are still many people who want to play, and many people who believe there is still life in the mod. There are other people qualified to take over and run things, even within the original...
Forum: Scripting Help 11/09/2018, 12:37 PM
Replies: 9
Views: 135
Posted By Y_Less
Re: What version of Mysql

Just use the latest. Always use the latest.
Forum: Scripting Help 10/09/2018, 03:41 PM
Replies: 24
Views: 594
Posted By Y_Less
Re: Annoying sscanf id 0 debug

That's the same code with the same problems...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:26 AM.


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