AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   New Speed Meter (https://forums.alliedmods.net/showthread.php?t=159481)

nkz1337 06-17-2011 16:10

New Speed Meter
 
1 Attachment(s)
SpeedMeter 1337
by tvix1337 & AciDoX


Description:

Plugin show you speed in game, with Weapons ...etc
new hud message! called 'DhudMessage'


[IMG]http://img43.**************/img43/319/speedmeter2.jpg[/IMG]

Plugin cvar:


sm_enable ( 1 - Enable | 2 - Disable )


Credits

- Numb
- Fatalis
- LT.Rat
- SchlumPF

drekes 06-17-2011 16:19

Re: New Speed Meter
 
upload the dhudmessage.inc or add a link to it in the description.

fysiks 06-17-2011 16:48

Re: New Speed Meter
 
  1. You use the cvar pointer incorrectly. You need to use get_pcvar_num(showspeed).
  2. There is no reason to have an array for the players since every cell is the same value.
  3. The prefix "sz" is traditionally used for strings as it refers to zero-terminated strings.
  4. vSpeed is not the player's velocity, and is not relevant as it is the players horizontal speed only (vSpeed and Speed are identical on flat surfaces).

bibu 06-17-2011 17:03

Re: New Speed Meter
 
So you just changed it to "dhudmsg's" and fucked up the code?
( http://forums.alliedmods.net/showthread.php?p=702520 )

Good job.

fysiks 06-17-2011 17:34

Re: New Speed Meter
 
I guess that means that my above points 1 and 4 need to be posted over there too lol.

bibu 06-18-2011 02:29

Re: New Speed Meter
 
Quote:

Originally Posted by fysiks (Post 1490365)
I guess that means that my above points 1 and 4 need to be posted over there too lol.

Tell that to:

Approver: Exolent[jNr] (183)

:mrgreen:

zippel 06-18-2011 04:20

Re: New Speed Meter
 
nice plugin. I'm using it's for testing some other pl on my srv.

Shadymn 06-18-2011 05:53

Re: New Speed Meter
 
Nice plugin. Very simple than others

lazarev 06-19-2011 13:24

Re: New Speed Meter
 
pointless

grimvh2 06-20-2011 15:37

Re: New Speed Meter
 
Quote:

Originally Posted by lazarev (Post 1491596)
pointless


Exolent[jNr] 06-20-2011 16:11

Re: New Speed Meter
 
Quote:

Originally Posted by fysiks (Post 1490339)
  1. You use the cvar pointer incorrectly. You need to use get_pcvar_num(showspeed).
  2. There is no reason to have an array for the players since every cell is the same value.
  3. The prefix "sz" is traditionally used for strings as it refers to zero-terminated strings.
  4. vSpeed is not the player's velocity, and is not relevant as it is the players horizontal speed only (vSpeed and Speed are identical on flat surfaces).

Your 1 is true, and I must have overlooked that in the other plugin.

However, your 4 is false because the horizontal speed does matter (though the label "velocity" can be misleading).
It is designed to show the complete velocity as well as horizontal velocity.

--

As for the OP, all you did was:
- change set_hudmessage() -> set_dhudmessage() and ShowSyncHudMsg() -> show_dhudmessage().
- removed the color cvar (why remove a customizable feature?)
- changed around some of the variable names.

This does not make a valid reason for a new plugin.
Even if it did, you would have only needed to change the hudmessage functions and nothing else.
If you have any hopes in getting this approved, you need to fix the cvar problem, put back the color cvar, and put all the variable names back since that was a pointless change in the first place.

al3amri 06-26-2011 10:02

Re: New Speed Meter
 
Thank You , Test it

dfwu.dark 07-02-2011 16:29

Re: New Speed Meter
 
wanna test it right now

ConnorMcLeod 07-23-2011 03:53

Re: New Speed Meter
 
Copy/paste of http://forums.alliedmods.net/showthread.php?t=79278
Unapproved.


All times are GMT -4. The time now is 06:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.