SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 97
Search took 0.01 seconds.
Search: Posts Made By: Robson04
Forum: Scripting Help 03/05/2020, 09:01 AM
Replies: 11
Views: 2,449
Posted By Robson04
Re: Anti vehicle repair hack

In truth, you can check damage status without knowledge about binary, beacuse as you should know the binary code can convert to normal decimal system (1-9). So just check if panels, doors, lights or...
Forum: Scripting Help 03/05/2020, 08:55 AM
Replies: 11
Views: 2,449
Posted By Robson04
Re: Anti vehicle repair hack

Why you use a player foreach loop? You can use loop using only vehicleid. You don't need a playerid and check if player is in car and getting his state.
When you creates vehicles in your script add...
Forum: Scripting Help 02/05/2020, 09:32 PM
Replies: 2
Views: 79
Posted By Robson04
Re: Function

Most likely not.
Why do you want to use this?
Forum: Scripting Help 16/04/2020, 08:51 PM
Replies: 3
Views: 99
Posted By Robson04
Re: Help Create3DTextLabel

Try use streamer plugin to shows 3DText. If the problem is the same your map maybe have gaps and this can lead to your problem.
Forum: Scripting Help 15/04/2020, 04:11 PM
Replies: 5
Views: 185
Posted By Robson04
Forum: Scripting Help 15/04/2020, 02:51 PM
Replies: 5
Views: 185
Posted By Robson04
Re: Help, kick users with the same IP

Your codes isn't contain kick player. Search in your gamemode Kick function or search text (reason) for what player has been kicked from your server.
Forum: Scripting Help 15/04/2020, 02:09 PM
Replies: 6
Views: 186
Posted By Robson04
Re: Couldn't connect to radio station database

This warning is from server-logs or mysql log?
Forum: Scripting Help 15/04/2020, 12:56 PM
Replies: 3
Views: 179
Posted By Robson04
Re: What is this (WALL) object ID?

In my opinion this object have material texture.
You can find us in https://dev.prineside.com/en/gtasa_samp_model_id

About of the texture (https://textures.xyin.ws/):...
Forum: Scripting Help 15/04/2020, 07:03 AM
Replies: 5
Views: 185
Posted By Robson04
Re: Help, kick users with the same IP

This code is from Proxydetector? Did you paste all code from function? Try comment out and try log in from same ip address.
Forum: Scripting Help 14/04/2020, 05:20 PM
Replies: 2
Views: 145
Posted By Robson04
Re: Faction not saving (Heap size issue I think?)

//Never use to say this part before adding in savefaction(id)
Header size: 18980 bytes
Code size: 1611024 bytes
Data size: 115505760 bytes
Stack/heap size: 16384...
Forum: Scripting Help 14/04/2020, 04:56 PM
Replies: 9
Views: 196
Posted By Robson04
Re: IsValidVehicle problem

He told you about id from database. You should don't use id to timers or variables index.

DestroyVehicle(Vehicle[id]); //id? not sid? Which finally is a vehicleid?
KillTimer(VehicleTimer[sid]);
...
Forum: Scripting Help 14/04/2020, 04:52 PM
Replies: 9
Views: 196
Posted By Robson04
Re: IsValidVehicle problem

To destroys player vehicles you don't need get data from your database. Delete all useless variables and try use enumerators data. Don't uses single variables to store a vehicleid or id from database...
Forum: Scripting Help 14/04/2020, 04:49 PM
Replies: 9
Views: 196
Posted By Robson04
Re: IsValidVehicle problem

Your code is very useless. I don't know how can I figure it.
re loop: Yes. You can avoid unnecessary loops. The top loop is for. Just use it!

I don't know still, which variable have vehicleid....
Forum: Scripting Help 14/04/2020, 01:03 PM
Replies: 9
Views: 196
Posted By Robson04
Re: IsValidVehicle problem

Yeah. This is very good explain for you. Very good! Maybe you should use an iterators. :D
Forum: Scripting Help 14/04/2020, 01:00 PM
Replies: 9
Views: 196
Posted By Robson04
Re: IsValidVehicle problem

Why you don't create two enumerators to save vehicle data. Whyfor sends too much query to database.
In my opinion this is look to problem with your enum or vehicleid data.

Try use this...
Forum: Scripting Help 14/04/2020, 08:06 AM
Replies: 9
Views: 191
Posted By Robson04
Re: HQ Name Problem

You can don't need save all data in one function. If one variable change you can send query to your database to update row. 😉
Forum: Scripting Help 14/04/2020, 08:04 AM
Replies: 9
Views: 191
Posted By Robson04
Re: HQ Name Problem

I know, if player can insert string value in query player can insert not valid symbols but you can don't need uses %e. Function
mysql_escape_string is the same and you can avoid %e. You write true...
Forum: Scripting Help 13/04/2020, 10:18 PM
Replies: 4
Views: 113
Posted By Robson04
Re: 3DTextLabel not updating/showing

Whyfor he must do that. Still use Streamers function.
Forum: Scripting Help 13/04/2020, 10:14 PM
Replies: 9
Views: 191
Posted By Robson04
Re: HQ Name Problem

I'm never uses %e in string query. %s don't give crash result. I never meet people which uses %e to strings formating. Whatever, the specifiers maybe cannot give this result.
Forum: Scripting Help 13/04/2020, 10:04 PM
Replies: 9
Views: 191
Posted By Robson04
Re: HQ Name Problem

Yeah, if you use ` or ' you should don't write it. The ' prefix's you can remove from update query but the string must have '%s' because this is string value.
Forum: Scripting Help 13/04/2020, 09:57 PM
Replies: 4
Views: 113
Posted By Robson04
Re: 3DTextLabel not updating/showing

If you would move 3dtext without destroying you should use the Streamer_SetItemPos. https://github.com/samp-incognito/samp-streamer-plugin/wiki/Natives-(Miscellaneous)#Streamer_SetItemPos

Don't...
Forum: Scripting Help 13/04/2020, 09:48 PM
Replies: 9
Views: 191
Posted By Robson04
Re: HQ Name Problem

What is CheckTable function? A few query in same time maybe give this problem. Do you have any repeat timer which saves or inserts data to your MySQL database?
Forum: Scripting Help 04/04/2020, 10:59 AM
Replies: 6
Views: 166
Posted By Robson04
Re: How can I upload iterator data to callback?

Thanks you for your feedback!
Forum: Scripting Help 04/04/2020, 10:57 AM
Replies: 6
Views: 166
Posted By Robson04
Re: How can I upload iterator data to callback?

Thank you for help me.
I think about create iter paramters for stocks and tquery for mysql. Your code should figure out my problem. Thanks you and all person which wanted help me.
Forum: Scripting Help 04/04/2020, 10:34 AM
Replies: 6
Views: 166
Posted By Robson04
Re: How can I upload iterator data to callback?

I know how works iterators and your code is useless of my question.
I don't want loop tquery but I want how can using iterator in parametr on callback.


forward...
Showing results 1 to 25 of 97

 

All times are GMT. The time now is 01:31 PM.


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