Turn Back v1.2
2 Attachment(s)
-Description:-
a simple this plugin that let you do an instant turn. it can be used in deathrun where there is traps and you want to avoid them in the last sec...etc -Usage- - Press J button (which is bind to "cheer" command) -> Default Button -Credits- ConnorMcLeod For help with changing player position. -Change Log- Code:
v1.0: |
Re: Turn Back v1.0
Nice one :)
|
Re: Turn Back v1.0
thnx
|
Re: Turn Back v1.0
"walk" in not a cs command, if you want to keep it as a custom command, then you need to return PLUGIN_HANDLE to prevent cs from throwing "unknown command" in player console.
I think you are confused with command +speed, this command is not hookable on server. Maybe you have an alias "walk" in userconfig.cfg and you forgot about it ;) If you want to keep the custom command, then i suggest to rename it to something not common, as amx_backturn or something like that. |
Re: Turn Back v1.0
Quote:
so i change walk >> speed and put return PLUGIN_HANDLED. OFF TOPIC: is it possoble to detect if player was hitted from back or i just chek if the victim see the attacker and then chek the attacker angle . |
Re: Turn Back v1.0
Update then :)
Also, variable g_UseType is useless, is exactly same as USE_TYPE. That kind of customization should be out of the plugin though (release rules say no hardcoded things). |
Re: Turn Back v1.0
Quote:
PHP Code:
|
Re: Turn Back v1.0
Quote:
|
Re: Turn Back v1.1
You have to set checkpoints before?
|
Re: Turn Back v1.1
You return PLUGIN_HANDLED in the wrong function. Are you sure you updated the plugin ? I still see 1.0.
|
All times are GMT -4. The time now is 19:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.