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 18/01/2019, 03:57 PM
Replies: 15
Views: 224
Posted By Y_Less
Forum: Scripting Help 18/01/2019, 03:35 PM
Replies: 15
Views: 224
Posted By Y_Less
Re: Personalized health of the vehicles

I'd wrap that in a function, and not use globals or underscore prefixes, but essentially yes. If you want to create a lot of things, you need to create a lot of things.
Forum: Scripting Help 18/01/2019, 02:58 PM
Replies: 6
Views: 83
Posted By Y_Less
Re: Problem with warning 213: tag mismatch

You've still not said what errors.
Forum: Scripting Help 18/01/2019, 07:21 AM
Replies: 3
Views: 68
Posted By Y_Less
Re: [Help] MySQL Problem

Have you included the includes?
Forum: Scripting Help 18/01/2019, 07:17 AM
Replies: 2
Views: 76
Posted By Y_Less
Re: tag mismatch

Cache functions don't take a connection ID, and they return by reference, not directly.

https://wiki.sa-mp.com/wiki/MySQL/R40#cache_get_row_count
Forum: Scripting Help 18/01/2019, 07:15 AM
Replies: 6
Views: 83
Posted By Y_Less
Forum: Scripting Help 18/01/2019, 06:23 AM
Replies: 2
Views: 64
Posted By Y_Less
Re: Timer IDs Limit

At 100 timers per second, it will take 497 days to wrap around. Then there are no checks so they will be reused. Even 0 will be used, despite being returned for invalid/unused timers (something I...
Forum: Scripting Help 18/01/2019, 05:24 AM
Replies: 8
Views: 158
Posted By Y_Less
Re: Getting a value from another table

I'm glad. But put the information back in your first post, for others searching and learning as you are.
Forum: Scripting Help 18/01/2019, 04:21 AM
Replies: 15
Views: 224
Posted By Y_Less
Re: Personalized health of the vehicles

That is not where the cars are created.
Forum: Scripting Help 18/01/2019, 02:59 AM
Replies: 8
Views: 158
Posted By Y_Less
Re: Getting a value from another table

I didn't ask why you needed multiple tables - that's a good thing. But you should never need the same value in both tables, not when you can just do a JOIN.
Forum: Scripting Help 18/01/2019, 12:24 AM
Replies: 8
Views: 158
Posted By Y_Less
Re: Getting a value from another table

If it is hard to explain, then that means there isn’t a simple reason. So again, if there’s no simple reason, why? You aren’t going to get away with “I just need it”.
Forum: Scripting Help 17/01/2019, 07:01 PM
Replies: 6
Views: 130
Posted By Y_Less
Re: Getting number of lines in file

I know what you asked. You asked for a way to count how many lines there are in a file (filtered or otherwise) before then reading the data from the file. So you want to know what is in the file...
Forum: Scripting Help 17/01/2019, 04:37 PM
Replies: 6
Views: 130
Posted By Y_Less
Re: Getting number of lines in file

I would suggest storing the length in the first line. The problem with other checks is you are doing this to guard against file read issues, but if that's the case what is to stop file read issues...
Forum: Scripting Help 17/01/2019, 04:35 PM
Replies: 15
Views: 224
Posted By Y_Less
Re: Personalized health of the vehicles

AddStaticVehicleEx returns an ID, use that in SetVehicleHealth.
Forum: Scripting Help 17/01/2019, 04:24 PM
Replies: 2
Views: 70
Posted By Y_Less
Re: Vehicle Armor

1) Re-read the forum rules.

2) What have you got so far? What are you stuck on? How do you buy and own things in your mode?
Forum: Scripting Help 17/01/2019, 04:18 PM
Replies: 15
Views: 224
Posted By Y_Less
Re: Personalized health of the vehicles

SetVehicleHealth

And the default is 1000, not 100.
Forum: Scripting Help 17/01/2019, 04:14 PM
Replies: 6
Views: 169
Posted By Y_Less
Re: Help furniture

Where do you set x?
Forum: Scripting Help 17/01/2019, 04:05 PM
Replies: 7
Views: 143
Posted By Y_Less
Re: check points for enter and exit

There was no mention at all of the map, either for or against..
Forum: Scripting Help 17/01/2019, 04:03 PM
Replies: 8
Views: 158
Posted By Y_Less
Re: Getting a value from another table

Why do you have the same data in two tables in the first place? That's just asking for trouble in keeping them in sync.
Forum: Scripting Help 17/01/2019, 04:40 AM
Replies: 3
Views: 77
Posted By Y_Less
Re: [HELP] Bug in Login

That could be several things:

1) No DB installed.

2) No DB set up.

3) Wrong username/password.

4) Wrong hostname.
Forum: Scripting Help 17/01/2019, 03:11 AM
Replies: 3
Views: 77
Posted By Y_Less
Re: [HELP] Bug in Login

We don't know without seeing the code.
Forum: Scripting Help 16/01/2019, 10:51 PM
Replies: 7
Views: 143
Posted By Y_Less
Re: check points for enter and exit

It`s impossible to create a checkpoint that can be used by all players. You can use pickups:

CreatePickup(19605, 1, Float:X, Float:Y, Float:Z, virtualworld = 0); Image:...
Forum: Scripting Help 16/01/2019, 08:24 PM
Replies: 1
Views: 45
Posted By Y_Less
Re: Gates not moving

Well since GMod is for Half Life, and you've not said which mode it is. No, no clue.
Forum: Scripting Help 16/01/2019, 08:13 PM
Replies: 8
Views: 110
Posted By Y_Less
Re: Distance range of a place

That’s just a timer with more steps…
Forum: Scripting Help 16/01/2019, 07:43 PM
Replies: 7
Views: 143
Posted By Y_Less
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:21 PM.


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