Hello. I have done the following code into a client.cs file:
function ClientCmdDisplayHitMarker() // Called by server upon hit
{
Crosshair.setBitmap("bitmap/with/markers.wat"); // Displays the hitmarker
Crosshair.schedule(400, setBitmap, "default/crosshair/path"); // After 400 MS, remove the hitmarker
}
I don't know what the crosshair's bitmap is. I need something to make this hit marker to work. What do I do next?
You may want to get the crosshairs current bitmap first and then set it back to that after in case they have a custom crosshair.
Yeah, as a workaround for custom crosshairs, you could add another element to the playGUI to use as hitmarkers
Oh, here's picture of the look of the hit marker
