SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 213
Search took 0.01 seconds.
Search: Posts Made By: JR_Junior
Forum: Scripting Help 25/09/2020, 01:03 AM
Replies: 4
Views: 51
Posted By JR_Junior
Re: help with position calculation

It's about checkpoint position, not size!
Forum: Scripting Help 25/09/2020, 12:34 AM
Replies: 4
Views: 51
Posted By JR_Junior
help with position calculation

Hello!

The following function I'm using takes the position of the wheels and the petrol cap and creates a checkpoint in that position:

new Float: pos[4];...
Forum: Filterscripts 18/09/2020, 01:08 AM
Replies: 4,022
Views: 2,259,650
Posted By JR_Junior
Re: Useful Functions

GetVehicleUnderPlayer(playerid)

This function will help you to detect if a player is on top of a vehicle, surfing or not.
After trying several ways I was able to create code that works very well....
Forum: Server Support 18/09/2020, 01:04 AM
Replies: 14,916
Views: 1,919,894
Posted By JR_Junior
Forum: Scripting Help 17/09/2020, 07:19 PM
Replies: 2
Views: 112
Posted By JR_Junior
Thumbs up Re: Detect vehicle under player

Thank you so much! It worked.
Forum: Scripting Help 17/09/2020, 05:35 PM
Replies: 2
Views: 112
Posted By JR_Junior
Question Detect vehicle under player

Hello.

I know we have the GetPlayerSurfingVehicleID(playerid) function, but it doesn't work with empty vehicles.

Can someone help me to create a code to detect if the player is on top of an...
Forum: Scripting Help 17/08/2020, 03:46 AM
Replies: 0
Views: 71
Posted By JR_Junior
Question Help with float value

Hello.

I'm trying to show the float value: 0.01

new string[20];
new Float:value = 0.01;
format(string, sizeof(string), "%f", value);


Result: 0.009999
Forum: Includes 06/08/2020, 02:19 PM
Replies: 1,366
Views: 348,933
Posted By JR_Junior
Re: Nex-AC - Anticheat system

What exactly does the anti quick turn detect? I've never seen a cheat related to that. I pressed DEL with so...eit to rotate the vehicle quickly but it was not detected, I used a cleo mod that...
Forum: Includes 23/06/2020, 10:30 PM
Replies: 118
Views: 24,643
Posted By JR_Junior
Re: Easy MySQL - Simplifying the usage of MySQL queries!

What brings about a better performance?
A long handle, with multiple read / write lines?
Or multiple handles with few lines?

Thanks!
Forum: Server Support 18/06/2020, 10:53 PM
Replies: 3
Views: 331
Posted By JR_Junior
Re: A little help with sscanf

Works fine only if you do not type more than 1 word in the reason, but try again this cmd:

/sendinfo <Testing> <Testing> <Tesing again> <TESTINGEVENLONGERTESTING>

Result: Testing | Testing |...
Forum: Server Support 17/06/2020, 08:45 PM
Replies: 3
Views: 331
Posted By JR_Junior
A little help with sscanf

Hello.
I have a "problem" using multiple text string in sscanf params:

The cmd:

/sendinfo [JR_Junior] [Nick_Name] [No reason] [No details]


CMD:sendinfo(playerid,params[])
{
Forum: Tutorials 31/05/2020, 05:52 PM
Replies: 113
Views: 58,395
Posted By JR_Junior
Forum: Includes 25/05/2020, 09:41 PM
Replies: 41
[Include] GeoLite
Views: 10,846
Posted By JR_Junior
Re: GeoLite

My VPS was blocked the db files to be readed... now is working! Thank You!
Forum: Includes 25/05/2020, 08:58 PM
Replies: 41
[Include] GeoLite
Views: 10,846
Posted By JR_Junior
Re: GeoLite

All files is on the correct place and I've tried getting info like this way too... but nothing, no errors, but no data too.
Forum: Includes 25/05/2020, 08:08 PM
Replies: 41
[Include] GeoLite
Views: 10,846
Posted By JR_Junior
Re: GeoLite

Is not working for me:

new string[50];
GetPlayerCountry(playerid, string, sizeof(string));
strmid(PlayerInfo[playerid][GeoCountry], string, 0, sizeof(string), 255);

GetPlayerCity(playerid,...
Forum: Includes 20/05/2020, 01:24 AM
Replies: 118
Views: 24,643
Posted By JR_Junior
Re: Easy MySQL - Simplifying the usage of MySQL queries!

Thank you, I'm saving the date and time as string and works fine.
Forum: Includes 18/05/2020, 07:48 PM
Replies: 118
Views: 24,643
Posted By JR_Junior
Re: Easy MySQL - Simplifying the usage of MySQL queries!

Im trying to use the DATETIME field type but I don't know to use DATE_FORMAT lo convert yyyy-mm-dd to dd-mm-yy with this include.
Forum: Português/Portuguese 13/05/2020, 12:31 AM
Replies: 17
Views: 3,429
Posted By JR_Junior
Re: Gostaria de saber como girar um textdraw

Carai, que legal achar uma postagem de alguém querendo um sistema do meu servidor. Kkkkk

Só pra informação, atualmente esse velocimetro está muito mais avançado, o sistema base não é meu, mas fui...
Forum: Português/Portuguese 09/05/2019, 08:49 PM
Replies: 4
Views: 343
Posted By JR_Junior
Re: camera primeira pessoa

O teu código está correto!

É bug do samp mesmo, não tem como fazer um sistema de FPS sem que ocorra isso!

Desisti a anos desse sistema por conta desse bug.
Forum: Plugin Development 11/07/2018, 04:16 AM
Replies: 24
Views: 6,131
Posted By JR_Junior
Re: Local Keys Plugin

Why not a plugin to detect keys pressed by player, like U B K L M G F1F2 F3 etc?
Forum: Scripting Help 04/07/2018, 03:17 AM
Replies: 10
Views: 1,689
Posted By JR_Junior
Re: How to make a mirror?

Thank you.
There's definitely no way to do that. :(
Forum: Scripting Help 03/07/2018, 05:21 PM
Replies: 10
Views: 1,689
Posted By JR_Junior
Re: How to make a mirror?

I understand you, but I do not want to build a map.
I want to get a wall (object), transform into a mirror and place where I want and not on a specific interior or map.
Forum: Scripting Help 03/07/2018, 05:14 PM
Replies: 10
Views: 1,689
Posted By JR_Junior
Re: How to make a mirror?

Thank you.
I found a tutorial on this: http://forum.sa-mp.com/showthread.php?p=4002081

But in reality I do not want to make a reflective floor, but a mirror on the wall.
Forum: Scripting Help 03/07/2018, 04:40 PM
Replies: 10
Views: 1,689
Posted By JR_Junior
Forum: Scripting Help 02/07/2018, 08:11 PM
Replies: 10
Views: 1,689
Posted By JR_Junior
How to make a mirror?

Hello.
I would like to know how to create an object with reflective texture, looking like a mirror with SetObjectMaterial.

Example:
https://image.prntscr.com/image/f-apLepLRrOXlxoFAYY6mw.png
...
Showing results 1 to 25 of 213

 

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


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