SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Y_Less
Forum: Scripting Help 26/03/2019, 08:27 PM
Replies: 4
Views: 49
Posted By Y_Less
Re: Not calling function?

Have you actually established a database connection? `OnGameModeInit` is called before anything else (barring special callbacks), so you can't have yet connected.
Forum: Scripting Help 26/03/2019, 08:23 PM
Replies: 2
Views: 48
Posted By Y_Less
Re: foreach...

That's a VERY old version of y_iterate, I can tell just from the path. Update YSI.
Forum: Scripting Help 26/03/2019, 06:26 PM
Replies: 3
Views: 117
Posted By Y_Less
Re: Binary logic - first time command usage <SQLite>

I have no idea what you're trying to show sorry.
Forum: Scripting Help 26/03/2019, 05:54 PM
Replies: 5
Views: 126
Posted By Y_Less
Re: Smartphone

Then to answer your question. No.
Forum: Everything and Nothing 26/03/2019, 02:19 PM
Replies: 66
Views: 2,116
Posted By Y_Less
Re: Selling/Buying, Maps/Scripts? Is it legal?

As long as you are charging accurately. Your service in that case would be the copying and pasting. At $50/hour, that should net you a nice 80Ę.
Forum: Everything and Nothing 26/03/2019, 11:37 AM
Replies: 66
Views: 2,116
Posted By Y_Less
Forum: Scripting Help 26/03/2019, 11:35 AM
Replies: 5
Views: 126
Posted By Y_Less
Re: Smartphone

The libraries would be the same. As for the compiler, it is open source so you could build your own.
Forum: Scripting Help 25/03/2019, 06:12 PM
Replies: 16
Views: 1,086
Posted By Y_Less
Re: TextDraws disappear

If you refuse to show the code, we can't help.
Forum: Scripting Help 25/03/2019, 04:15 PM
Replies: 6
Views: 121
Posted By Y_Less
Re: stock

Well `stock` only applies to the function, not the parameters, so you will still get a warning for them.
Forum: Scripting Help 25/03/2019, 04:02 PM
Replies: 6
Views: 121
Posted By Y_Less
Re: stock

What does this have to do with stock?
Forum: Scripting Help 24/03/2019, 10:53 PM
Replies: 3
Views: 117
Posted By Y_Less
Re: Binary logic - first time command usage <SQLite>

Well SQL would only be used for persistence, so you'd write the data to the database the same as any other information. For the check itself, just put the flag in a player array and check that.
Forum: Scripting Help 24/03/2019, 09:02 PM
Replies: 5
Views: 146
Posted By Y_Less
Re: Whats better and why

Foreach is best, but not because of what that other thread said - the code used for testing there was awful.
Forum: Everything and Nothing 24/03/2019, 05:15 PM
Replies: 5
Views: 166
Posted By Y_Less
Re: Running a SA-MP server without loss (These days)

If you are starting a server purely to make money, you aren't going to get very far. People start servers because they enjoy it, and some then start getting money if others also enjoy it. However,...
Forum: Scripting Help 24/03/2019, 04:25 PM
Replies: 2
Views: 127
Posted By Y_Less
Re: Change experience to all players MYSQL

You don't need any pawn for this. You can do all of this with a single SQL UPDATE statement. SQL is a very powerful language, I suggest you read up on it some more.
Forum: Scripting Help 24/03/2019, 04:23 PM
Replies: 2
Views: 52
Posted By Y_Less
Re: string formating question

Two reasons:

1) It appends something more to the string. So if you call that multiple times, each time will just add more to the end of the string. There are more efficient ways to do this, but...
Forum: Scripting Help 24/03/2019, 03:43 PM
Replies: 11
Views: 170
Posted By Y_Less
Re: Duplicate case label

So, again, two of your cases have the same ID, I don't know whats so strange to understand about that.
Forum: Scripting Help 24/03/2019, 01:26 PM
Replies: 11
Views: 170
Posted By Y_Less
Re: Duplicate case label

So I said it isnít that one, referring to the inner switch in the code you posted. I forgot about the outer one - what is the value of DIALOG_COMMANDS? I guess 11, and I also guess another dialog...
Forum: Scripting Help 24/03/2019, 11:37 AM
Replies: 2
Views: 100
Posted By Y_Less
Re: fixes.inc

That (confusingly) is the return from the next callback in the chain, not from the callback in fixes.inc. Thus you need to figure out which one is being called.
Forum: Scripting Help 23/03/2019, 06:57 PM
Replies: 11
Views: 170
Posted By Y_Less
Re: Duplicate case label

Well it's not that one.
Forum: Scripting Help 23/03/2019, 06:06 PM
Replies: 4
YSI
Views: 103
Posted By Y_Less
Re: YSI

Again, yes. But I more meant could you give a specific example of what you want the XML to look like? That way I can give some specific code. However, most of what you're asking for is already...
Forum: Discussion 23/03/2019, 04:07 PM
Replies: 3
Views: 120
Posted By Y_Less
Re: Arabic support

UTF8 and UTF32 are encodings, not character sets. They can both represent exactly the same letters, just stored in a different way. Thatís like saying you need JPG, not PNG, to use green.
Forum: General 23/03/2019, 04:05 PM
Replies: 3
Views: 311
Posted By Y_Less
Forum: Scripting Help 23/03/2019, 02:06 PM
Replies: 2
Views: 68
Posted By Y_Less
Re: error fix please (INI_WriteInt)

You need the file handle:


new INI:ini = INI_Open(dir);
INI_WriteInt(ini, "S_Member", random(sizeof (SprayList))) ;
INI_Close(ini);
Forum: Scripting Help 23/03/2019, 02:04 PM
Replies: 4
YSI
Views: 103
Posted By Y_Less
Re: YSI

Yes. But how exactly will need more information as to what you're trying to achieve.
Forum: Scripting Help 23/03/2019, 10:04 AM
Replies: 13
Views: 232
Posted By Y_Less
Re: Run time error 19: "File or function is not found"

Your plugins do load, but apparently you're still missing something. So either one of them is out of date, or you need another one. Try the nativechecker plugin - it won't solve the issue but will...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:15 AM.


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