Raised This Month: $32 Target: $400
 8% 

Ham_CS_Player_ResetMaxSpeed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-11-2019 , 10:37   Ham_CS_Player_ResetMaxSpeed
Reply With Quote #1

I noticed that Ham_CS_Player_ResetMaxSpeed crashes the server. There is no logs.

Code:
#include <amxmodx> #include <engine> #include <hamsandwich> public plugin_init() {     RegisterHamPlayer(Ham_CS_Player_ResetMaxSpeed, "CBasePlayer_ResetMaxSpeed_Post", 1);     //RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "CBasePlayer_ResetMaxSpeed_Post", 1);     register_clcmd("say /speed", "ClCmdSpeed"); } public CBasePlayer_ResetMaxSpeed_Post(this) {     if (!is_user_alive(this))         return;     new Float:flSpeed = 300.0;     entity_set_float(this, EV_FL_maxspeed, flSpeed); } public ClCmdSpeed(id) {     if (!is_user_alive(id))         return PLUGIN_HANDLED;     ExecuteHamB(Ham_CS_Player_ResetMaxSpeed, id);     client_print(id, print_chat, "New speed set.");     return PLUGIN_HANDLED; }

Code:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 15:58:59 Apr  3 2019 (8196)
Code:
] meta version
Metamod v1.21.1-am  2013-09-26 (5:13)
by Will Day <[email protected]>
   http://www.metamod.org/
compiled: Sep 26 2013, 22:35:52  (msc optimized)
Code:
] amxx version
AMX Mod X 1.9.0.5241 (http://www.amxmodx.org)
Authors:
	David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
	Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
	Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
	Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jan 30 2019 07:09:20
Built from: https://github.com/alliedmodders/amxmodx/commit/21100375
Build ID: 5241:21100375
Core mode: JIT+ASM32
__________________









Last edited by CrazY.; 05-11-2019 at 10:38.
CrazY. is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-13-2019 , 21:21   Re: Ham_CS_Player_ResetMaxSpeed
Reply With Quote #2

No crash report?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
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

Forum Jump


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


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