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 16/11/2018, 05:08 PM
Replies: 3
Views: 76
Posted By Y_Less
Re: Question on /updates

ErÖ The command is for updates - you have to edit your script to make updates, so why go out of your way to do the messages differently?

Of course, there is something to be said for going out of...
Forum: Scripting Help 16/11/2018, 02:39 PM
Replies: 4
Views: 84
Posted By Y_Less
Re: Updating YSI includes issue

Or use the 5.x branch. 4.x is still somewhat supported, but most of my effort is now on 5.x - I was specifically asked not to fix these warnings on the 4.x branch.
Forum: Scripting Help 16/11/2018, 02:36 PM
Replies: 2
Views: 54
Posted By Y_Less
Re: error 031: unknow directive

I fixed that locally but apparently forgot to push. Thanks for notifying me - it's fixed now.
Forum: Scripting Help 16/11/2018, 12:55 PM
Replies: 4
Views: 84
Posted By Y_Less
Re: Updating YSI includes issue

Have you also updated your compiler? Most of these warnings come from that.
Forum: Scripting Help 15/11/2018, 01:40 PM
Replies: 6
Views: 91
Posted By Y_Less
Re: Server version downgrade removed mapping

Check the limits. Make sure everything is going through the streamer.
Forum: Scripting Help 15/11/2018, 12:22 PM
Replies: 4
Views: 75
Posted By Y_Less
Re: pawncc.exe Application Error

I see you're using Windows 10 x64. This could be a compatibility issue. Try running in XP/Vista/7 compatibility modes.
Forum: Scripting Help 15/11/2018, 11:04 AM
Replies: 6
Views: 91
Posted By Y_Less
Re: Server version downgrade removed mapping

Are they custom models? Those are the whole difference between .7 and DL.
Forum: Scripting Help 15/11/2018, 03:09 AM
Replies: 5
Views: 161
Posted By Y_Less
Forum: Scripting Help 15/11/2018, 03:07 AM
Replies: 1
Views: 54
Posted By Y_Less
Re: Detect Q and E onfoot

You detect actions, such as "jump" or "fire", not specific keys.
Forum: Scripting Help 14/11/2018, 04:41 PM
Replies: 11
Views: 147
Posted By Y_Less
Re: Please help me on this

Except I donít understand this line:



Why pointlessly restrict yourself in what code can be used?
Forum: Scripting Help 14/11/2018, 02:12 PM
Replies: 3
Views: 115
Posted By Y_Less
Re: Selection Skin bug

That looks like a pair of jeans to me. It is showing the image, just insanely close up. I can't say why without your code.
Forum: Scripting Help 14/11/2018, 02:10 PM
Replies: 3
Views: 99
Posted By Y_Less
Re: How to load maps from website

That's utterly rubbish. Loading files is trivially easy, the only question is what format are they in. For example MTA maps can be loaded with YSI, more custom formats need a custom loader. But...
Forum: Scripting Help 14/11/2018, 02:07 PM
Replies: 2
Views: 66
Posted By Y_Less
Re: Colors in Dialog

Don't store colours as strings, they are numbers.
Forum: Scripting Help 14/11/2018, 02:05 PM
Replies: 11
Views: 147
Posted By Y_Less
Re: Please help me on this

Why do you not want to use random, how do you intend to select a number?
Forum: Scripting Help 14/11/2018, 02:02 PM
Replies: 3
Views: 65
Posted By Y_Less
Re: Error Compiling in VSCode

There are three possible reasons:

1) You're on the old compiler.
2) You're on an old YSI.
3) You forgot `-(+ -;+`.

Or of course any combination of those.

Edit: Looking more closely, it...
Forum: Scripting Help 14/11/2018, 12:21 AM
Replies: 6
Views: 123
Posted By Y_Less
Re: ShowPlayerDialog getting weird

I believe colours don't work after the 255th character.
Forum: Scripting Help 13/11/2018, 10:10 PM
Replies: 4
Views: 111
Posted By Y_Less
Re: Using OnPlayerCommadText() in OCMD ?!

Don't call commands from other commands. If you have some code common to multiple places, put it in a function and call that instead.
Forum: Scripting Help 13/11/2018, 09:16 PM
Replies: 1
Views: 59
Posted By Y_Less
Re: Linux compiler for Pawn

https://github.com/pawn-lang/compiler/releases/tag/v3.10.9

Simplest method is probably the well documented sampctl:

http://sampctl.com
Forum: Scripting Help 13/11/2018, 09:13 PM
Replies: 5
Views: 129
Posted By Y_Less
Re: Variable

That is single variables.
Forum: Scripting Help 12/11/2018, 03:13 AM
Replies: 7
Views: 140
Posted By Y_Less
Re: My gamemode disappeared from nothing when compiling

Restore from a recent backup or commit.
Forum: Scripting Help 11/11/2018, 01:39 PM
Replies: 10
Views: 174
Posted By Y_Less
Re: Player Checkpoint Problem

You can only ever have one checkpoint shown, the steamer just changes which one it is.
Forum: Scripting Help 10/11/2018, 07:30 PM
Replies: 10
Views: 174
Posted By Y_Less
Forum: Scripting Help 10/11/2018, 04:26 PM
Replies: 8
Views: 149
Posted By Y_Less
Re: Foreach

[/QUOTE]

That's an old version.
Forum: Scripting Help 10/11/2018, 03:26 PM
Replies: 8
Views: 149
Posted By Y_Less
Re: Foreach

The warning was:

"USE@YSI_Data@y_iterate"

Meaning you should use:

YSI_Data\y_iterate

Not whatever years old version you have there.
Forum: Scripting Help 10/11/2018, 01:51 PM
Replies: 6
Views: 140
Posted By Y_Less
Re: Which option to use?

That is quite obviously wrong, just from looking at the code! Did you mean 2 and 3?

enums are a convenience - they make code look slightly cleaner at the expense of some speed. So there is no...
Showing results 1 to 25 of 500

 

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


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