This extension allows scripters to edit player's max speed in CSS smoothly. It uses a detour on the function CCSPlayer::GetPlayerMaxSpeed.
Sample that sets maxspeed to 600:
Code:
#include <cssspeedmod>
public GetPlayerMaxSpeed(client, &Float:MaxSpeed)
{
MaxSpeed = 600.0;
}
Notes:
MaxSpeed's initial value is what the real function returned.
This was not yet tested and linux version is not yet compiled.
Include file
GameData file
Windows Extension file
Source Code