SA-MP Forums

Go Back   SA-MP Forums > SA-MP > News and Updates

Reply
 
Thread Tools Display Modes
Old 06/12/2018, 04:22 PM   #31
coderkid
Little Clucker
 
Join Date: Nov 2017
Posts: 1
Reputation: 0
Default Re: SA-MP 0.3.7 R3 client update (optional)

Nice, 0.3DL when will you update?
coderkid is offline   Reply With Quote
Old 06/12/2018, 04:49 PM   #32
waysemir
Little Clucker
 
Join Date: Oct 2014
Posts: 43
Reputation: 3
Default Re: SA-MP 0.3.7 R3 client update (optional)

Not bad.
waysemir is offline   Reply With Quote
Old 06/12/2018, 04:58 PM   #33
MartinIucky
Newbie
 
Join Date: Nov 2018
Posts: 0
Reputation: 0
Default Re: SA-MP 0.3.7 R3 client update (optional)

Nice!
MartinIucky is offline   Reply With Quote
Old 06/12/2018, 05:30 PM   #34
userid
Little Clucker
 
Join Date: Aug 2018
Location: Where you live
Posts: 21
Reputation: 4
Default Re: SA-MP 0.3.7 R3 client update (optional)

Quote:
Originally Posted by Romz View Post
Now players from different versions see everything in different ways, how can I fix and make it so that for all for all textdraw players look normal?

You can use this for sprites and box textdraws:
Code:
#define GTA_SA_WIDTH 640.0
#define GTA_SA_HEIGHT 448.0

stock AR_Calc(aspect_ratio_width, aspect_ratio_height, Float:x, Float:size_x, bool:centered_sprite, &Float:result_x, &Float:result_size_x)
{
	size_x *= floatmul(floatdiv(float(aspect_ratio_height), float(aspect_ratio_width)), floatdiv(GTA_SA_WIDTH, GTA_SA_HEIGHT));
	if(centered_sprite) x -= size_x / 2;

	result_x = x;
	result_size_x = size_x;
	return 1;
}
For example:
Code:
new Float:td_pos_x = 100.0,
	Float:td_size_x = 50.0,
	Float:new_td_pos_x,
	Float:new_td_size_x;

AR_Calc(16, 9, td_pos_x, td_size_x, false, new_td_pos_x, new_td_size_x);
TextDrawCreate(new_td_pos_x, y, "box");
TextDrawTextSize(td, new_td_size_x, size_y);
The white circle is made without using the function and black is made using the function.
userid is offline   Reply With Quote
Old 06/12/2018, 05:49 PM   #35
m1n1vv
Big Clucker
 
m1n1vv's Avatar
 
Join Date: May 2013
Posts: 57
Reputation: 37
Default Re: SA-MP 0.3.7 R3 client update (optional)

userid, on a different version of the client will be different
Romz, GetPlayerVersion
Kalcor, need a function change of type radar
__________________
[Include] UICompass
[Tutorial] Object collision in 3ds Max
m1n1vv is offline   Reply With Quote
Old 06/12/2018, 06:01 PM   #36
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,070
Reputation: 64
Default Re: SA-MP 0.3.7 R3 client update (optional)

Quote:
Originally Posted by m1n1vv View Post
GetPlayerVersion
It does not work properly. Any cheater can change the text that this function returns.

__________________
Romz is offline   Reply With Quote
Old 06/12/2018, 06:33 PM   #37
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,716
Reputation: 127
Default Re: SA-MP 0.3.7 R3 client update (optional)

Quote:
Originally Posted by Romz View Post
It does not work properly. Any cheater can change the text that this function returns.

If the rest of your players are using 0.3.7-R3, though, it doesn't matter about the hackers because they won't be able to crash the rest of your players who're using R3.
__________________
BeckzyBoi is offline   Reply With Quote
Old 06/12/2018, 06:44 PM   #38
97fresh
Little Clucker
 
97fresh's Avatar
 
Join Date: Sep 2012
Location: Romania
Posts: 12
Reputation: 0
Default Re: SA-MP 0.3.7 R3 client update (optional)

nice job
__________________
ID MESS/SKYPE/STEAM:gutu_aurelian97
97fresh is offline   Reply With Quote
Old 06/12/2018, 06:52 PM   #39
BrainDamaged
Big Clucker
 
BrainDamaged's Avatar
 
Join Date: Jun 2016
Posts: 124
Reputation: 1
Default Re: SA-MP 0.3.7 R3 client update (optional)

It's not a innovation sir, this is not an update sir. you divide us in two sir, you are hurting us sir, now please bring a solution sir, no need for such ridiculous updates sir, sa-mp.com we want to see a single client address sir, continue with 0.3.7 or terminate 03DL / continue with 03DL or terminate 0.3.7, please not ignore us now, PLEASE.
BrainDamaged is offline   Reply With Quote
Old 06/12/2018, 06:53 PM   #40
Jefff
High-roller
 
Join Date: Dec 2007
Posts: 2,667
Reputation: 322
Default Re: SA-MP 0.3.7 R3 client update (optional)

Passenger crasher is fixed ? Bad vehicle crasher (Invalid Seat)
Jefff is online now   Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SA-MP 0.3.7 R2 client update (optional) Kalcor News and Updates 151 08/12/2018 04:03 PM
SA-MP 0.3z R2 client update (optional) Kalcor News and Updates 89 25/04/2015 07:58 PM
SA-MP 0.3x R1-2 client/server update (optional) Kalcor News and Updates 207 02/11/2014 08:00 PM
SA-MP 0.3b R3 client update (minor/optional) SA-MP News and Updates 92 06/01/2011 07:51 PM
SA-MP 0.3b R2 client/server update (optional) SA-MP News and Updates 38 02/01/2011 07:18 PM


All times are GMT. The time now is 04:09 AM.


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