[FilterScript] Xeon's Speedometer (Analog Speedmeter)
#24

Quote:
Originally Posted by Paulice
View Post
PHP Code:
for(new 0GetMaxPlayers(); i++) // looping through connected players 
GetPlayerPoolSize exists, use it (note: making it a plug n\' play script for any "SA-MP version" is not a valid excuse to not use the relatively new function)!
Use foreach instead of GetPlayerPoolSize
Quote:
Originally Posted by Paulice
View Post
PHP Code:
new speed;
speed GetPlayerSpeed(playerid); 
Can you not do "new speed = GetPlayerSpeed(playerid);"?
That\'s a point less argument.

Quote:
Originally Posted by Xeon™
View Post


Yes i did heared of it. but in this case its constant. so there no need to wast more ms for a const var.
sizeof is an operator whose value is replaced by a constant (cell value) on compilation itself


Nice script
Reply


Messages In This Thread
Xeon\'s Speedometer (Analog Speedometer) - by Xeon™ - 19.09.2017, 18:56
Re: Xeon\'s Speedometer (Analog Speedmeter) - by SonnyGamer - 19.09.2017, 18:59
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 19.09.2017, 19:57
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Meller - 19.09.2017, 20:11
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 19.09.2017, 20:50
Re: Xeon\'s Speedometer (Analog Speedmeter) - by J0sh... - 19.09.2017, 21:11
Re: Xeon\'s Speedometer (Analog Speedmeter) - by R4nd4ll - 19.09.2017, 21:15
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 19.09.2017, 23:03
Re: Xeon\'s Speedometer (Analog Speedmeter) - by DonaldDuck - 20.09.2017, 07:56
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 20.09.2017, 15:38
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Paulice - 20.09.2017, 16:16
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Mr.Vince™ - 20.09.2017, 16:33
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 20.09.2017, 16:37
Re: Xeon\'s Speedometer (Analog Speedmeter) - by AbyssMorgan - 20.09.2017, 16:42
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Jayse - 20.09.2017, 16:45
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Paulice - 20.09.2017, 16:59
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 20.09.2017, 17:04
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Paulice - 20.09.2017, 17:15
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 20.09.2017, 17:42
Re: Xeon\'s Speedometer (Analog Speedmeter) - by vassilis - 22.09.2017, 15:49
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Meller - 22.09.2017, 17:12
Re: Xeon\'s Speedometer (Analog Speedmeter) - by 1fret - 23.09.2017, 01:25
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Kaperstone - 23.09.2017, 02:21
Re: Xeon\'s Speedometer (Analog Speedmeter) - by SyS - 23.09.2017, 02:25
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Paulice - 24.09.2017, 09:31
Re: Xeon\'s Speedometer (Analog Speedmeter) - by GhostHacker9 - 24.09.2017, 11:44
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 24.09.2017, 14:24
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Crystallize - 24.09.2017, 14:58
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 24.09.2017, 15:20
Re: Xeon\'s Speedometer (Analog Speedmeter) - by VVWVV - 24.09.2017, 15:21
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 24.09.2017, 15:26
Re: Xeon\'s Speedometer (Analog Speedmeter) - by VVWVV - 24.09.2017, 15:34
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 24.09.2017, 15:35
Re: Xeon's Speedometer (Analog Speedmeter) - by VVWVV - 24.09.2017, 16:38
Re: Xeon's Speedometer (Analog Speedmeter) - by Xeon™ - 24.09.2017, 16:41
Re: Xeon\'s Speedometer (Analog Speedmeter) - by TakeiT - 24.09.2017, 19:38
Re: Xeon\'s Speedometer (Analog Speedmeter) - by RxErT - 24.09.2017, 21:06
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 25.09.2017, 18:09
Re: Xeon\'s Speedometer (Analog Speedmeter) - by Xeon™ - 10.10.2017, 11:31

Forum Jump:


Users browsing this thread: 4 Guest(s)