SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 40
Search took 0.00 seconds.
Search: Posts Made By: Davi52
Forum: Scripting Help 21/03/2020, 03:05 PM
Replies: 2
Views: 143
Posted By Davi52
OnPlayerWeaponShot help

Hey! Does anyone know how to get if someone shoots a weapon while driving?(Like pressing Q and E and then fire) It would be necessary to a server-sided weapon system, for anti-weapon cheats. Need to...
Forum: News and Updates 20/02/2020, 07:27 PM
Replies: 172
Views: 1,283,265
Posted By Davi52
Re: SA-MP 0.3.7 R4 client update (strongly recommended)

Can we get any hopes from you boss, @Kalcor for a revolutionary new start in SA-MP? :D It could be back again very easy, cause its a low quality game, but one of the best, and with united power, we...
Forum: Scripting Help 20/02/2020, 06:54 PM
Replies: 1
Views: 132
Posted By Davi52
Wink Custom object not loading("?" pickup instead)

Hey! I made whole day a model, which I edited from Xenon sign, but as I loaded it on the server, it went without errors, but showed me a question mark creating the object. What went wrong, whats the...
Forum: Scripting Help 19/02/2020, 08:10 AM
Replies: 3
Views: 124
Posted By Davi52
Re: Not saving dini

Can't reach the link!
Forum: Scripting Help 18/02/2020, 05:22 PM
Replies: 3
Views: 158
Posted By Davi52
Re: Looking at a point

No I didnt. I want to point the camera to an object while its behind the player.
Forum: Scripting Help 18/02/2020, 03:57 PM
Replies: 3
Views: 158
Posted By Davi52
Question Looking at a point

Hey guys, sorry again for disturbing you!
How can I set my players camera looking at a point? After I freeze my character, i want it to look at a point. I tried SetPlayerCameraLookAt, but it sets my...
Forum: Scripting Help 18/02/2020, 08:23 AM
Replies: 4
Views: 144
Posted By Davi52
Re: Object sizes

Thanks, but know a way how to calculate from these? I dont think that you can get the center from them. :/
Forum: Scripting Help 17/02/2020, 05:32 PM
Replies: 4
Views: 144
Posted By Davi52
Re: Object sizes

Thanks, helped, but I need to know the center point of it. Some objects has on the bottom, some in middle, some in a random point :D
Forum: Scripting Help 17/02/2020, 05:27 PM
Replies: 5
Views: 145
Posted By Davi52
Re: Object streaming tips?

Thanks for your tips! First I realized that the max streamed objects were set to 500 by default, so I set up to 1k and removed all of the default CreateObjects from the whole server. But to handle...
Forum: Scripting Help 17/02/2020, 05:24 PM
Replies: 7
Views: 12,418
Posted By Davi52
Re: error 001: expected token: ")", but found "{"

You missed a bracket, replace the first line with:
new hospitalid, Float:closest = PlayerDistanceToPoint(playerid,Hospitals[0][h_X], Hospitals[0][h_Y],Hospitals[0][h_Z]);
Forum: Scripting Help 17/02/2020, 04:43 PM
Replies: 4
Views: 144
Posted By Davi52
Unhappy Object sizes

Hello! I've searched on the internet, but found nothing about that topic. Does somebody know an include or a list of all objects sizes from the center of them?
I need the Z size from the center, or...
Forum: Scripting Help 16/02/2020, 08:42 PM
Replies: 5
Views: 145
Posted By Davi52
Re: Object streaming tips?

Sure, I use it, but as far as I know, there can only be max 1000 objects at a streamdistance at the same time for a player even with this.
Forum: Scripting Help 16/02/2020, 06:00 PM
Replies: 5
Views: 145
Posted By Davi52
Object streaming tips?

Hey! Im angry about that object limit for 1000 object, but I hope that you can help me. So I loaded a map with 1400 object in an interior area, not too big, and that's how it streams:...
Forum: Scripting Help 16/02/2020, 07:26 AM
Replies: 4
Views: 164
Posted By Davi52
Re: Problem with MySQL saving.

The problem is solved after a couple of tries. If someone will have this problem, mine fixed with splitting the query into more lines, and after the problem was that some argument types were...
Forum: Scripting Help 15/02/2020, 09:22 PM
Replies: 3
Views: 148
Posted By Davi52
Re: Bug chat

Please paste here the ProxDetector function.
Forum: Scripting Help 15/02/2020, 09:10 PM
Replies: 6
Views: 242
Posted By Davi52
Re: Initialization data exceeds declared size

Copy the line on what you get it. Try to set the array sizes to [340][64] to be sure.
Forum: Scripting Help 15/02/2020, 08:46 PM
Replies: 4
Views: 164
Posted By Davi52
Question Problem with MySQL saving.

Hey! The problem is, when I save my character on server, doesn't updates all thing, even if in the mysql log says that executed successfully. So I show the code:

mysql_format(sql,q,sizeof(q),...
Forum: Scripting Help 06/02/2020, 01:43 PM
Replies: 3
Views: 187
Posted By Davi52
Re: Problem with character encoding

But the funny is that if I write some hungarian character directly in SendClientMess function, it's ok, it has no problems, only if I receive them from sql. Any ideas pls?:(
Forum: Scripting Help 05/02/2020, 05:35 PM
Replies: 3
Views: 187
Posted By Davi52
Question Problem with character encoding

Hey! Im getting problems with loading datas from MySQL. So on the MySQL table the text is : "Életálom",but as I get it with the query, and write it out with SendClientMessage(tried with dialog), it...
Forum: Scripting Help 29/01/2020, 02:17 PM
Replies: 4
Views: 165
Posted By Davi52
Converting to lower case errors

Hey, I have some errors and warnings regarding to this function:

21: CorrectCaps(const string[],dest[]="",len=0)
22: {
23: for(new i=1;i<strlen(string);i++)
24: if(string[i]>64 &&...
Forum: Maps 26/01/2020, 09:24 PM
Replies: 4
Views: 1,412
Posted By Davi52
Re: Plaza los santos

Can you add some photos?
Forum: Scripting Help 26/01/2020, 09:16 PM
Replies: 2
Views: 100
Posted By Davi52
Re: Problem

1. Check that you have the latest plugins.
2. If so, you should have installed the VC redist. Packages from microsoft.
Forum: Scripting Help 26/01/2020, 09:13 PM
Replies: 6
Views: 191
Posted By Davi52
Re: Custom colision

Its almost the same, you have the custom dff file, and collision file, you just have to put it together with KDFF gui. https://libertycity.net/files/gta-san-andreas/111536-kdff-gui-v0.1.1.html
Try...
Forum: Scripting Help 26/01/2020, 09:10 PM
Replies: 7
Views: 362
Posted By Davi52
Re: TextDraw Can't Select

I had the same problem. Do you use some InGame textdraw editor? If so, i resolved that I recreated the textdraw with another font, and then set it selectable. I dont know, but resolved the problem. I...
Forum: Scripting Help 26/01/2020, 09:07 PM
Replies: 2
Views: 106
Posted By Davi52
Re: attach PlayAudioStream to a player?

https://forum.sa-mp.com/showthread.php?t=331533
You should check this. This include allows you to attach an audio stream to an object. Now you only need to create an object and attaching that to the...
Showing results 1 to 25 of 40

 

All times are GMT. The time now is 02:26 PM.


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