22.09.2017, 17:12
[FilterScript] Xeon's Speedometer (Analog Speedmeter)
23.09.2017, 01:25
damn bro thats very very good work
23.09.2017, 02:21
Code:
if(speed == 0)
Code:
if(!speed)
EDIT: overall, I really like the style of that speedometro
23.09.2017, 02:25
Quote:
PHP Code:
|
Quote:
PHP Code:
|
Quote:
Yes i did heared of it. but in this case its constant. so there no need to wast more ms for a const var. |
Nice script
24.09.2017, 09:31
24.09.2017, 11:44
foreach is faster and only iterates through connected playerids.
i can\'t believe this is the same guy who posted above shitness lmao.Try to stick to one thing at a time.
i can\'t believe this is the same guy who posted above shitness lmao.Try to stick to one thing at a time.
24.09.2017, 14:24
Thank you all for feedback!
Update 2.3:
Features:
- Distance counter has been re-made from scratch.
- Added a new config for optimizations SERVER_VEHICLES.
- Now supporting foreach standalone version.
Bug Fixes & Optimizations:
- Replaced GetPlayerPoolSize with Foreach Thanks to Sys!
- Doing a little optimizations Thanks to Kaperstone & Sys!
- Fixed a bug that #else if generate.
You can find the progress out here!
Update 2.3:
Features:
- Distance counter has been re-made from scratch.
- Added a new config for optimizations SERVER_VEHICLES.
- Now supporting foreach standalone version.
Bug Fixes & Optimizations:
- Replaced GetPlayerPoolSize with Foreach Thanks to Sys!
- Doing a little optimizations Thanks to Kaperstone & Sys!
- Fixed a bug that #else if generate.
You can find the progress out here!
24.09.2017, 14:58
Didn’t know “Kar” created foreach thanks for the new info dude.
24.09.2017, 15:20
24.09.2017, 15:21
Good job.
1) Why do you check the player\'s connection in the foreach loop? For example:
2) You should add and use constants to make your code more readable (it is a good practice for all programmers).
1) Why do you check the player\'s connection in the foreach loop? For example:
pawn Code:
foreach (new i : Player)
{
if(IsPlayerConnected(i)) // Why??
{
2) You should add and use constants to make your code more readable (it is a good practice for all programmers).
24.09.2017, 15:26
Quote:
Good job.
1) Why do you check the player\'s connection in the foreach loop? For example: pawn Code:
2) You should add and use constants to make your code more readable (it is a good practice for all programmers). |
2) i ain\'t?
Thanks for feedback!
24.09.2017, 15:34
I\'ve found the magic number in the loop here.
24.09.2017, 15:35
Quote:
I\'ve found the magic number in the loop here.
|
24.09.2017, 16:38
24.09.2017, 16:41
24.09.2017, 19:38
Nice! Reminds me of an old GM speedometer. Would definitely use it on certain car models if I had a server!
24.09.2017, 21:06
Very nice!
25.09.2017, 18:09
Thank you! both of you!
« Next Oldest | Next Newest »
Users browsing this thread: 5 Guest(s)