View Single Post
3vo
Junior Member
Join Date: Nov 2017
Old 11-16-2017 , 02:03   Re: Run speed issue after upgrading to SteamCMD and latest AMX Mod X
Reply With Quote #2

Updated to the latest 1.8.3 build and still had issues. I've found a workaround, but it requires altering SH core and will also need to rewrite multiple heroes to function properly.

The workaround is to set everything that was in public ham_PlayerSpawn_Post(id) to a task set 0.1 seconds after ham_PlayerSpawn_Post() is called. Will need to rewrite heroes that do things on respawning, especially if they use ExecuteHamB(Ham_CS_RoundRespawn, id).

PHP Code:
//----------------------------------------------------------------------------------------------
public ham_PlayerSpawn_Post(id)
{
    if ( !
get_pcvar_num(sv_superheros) ) return HAM_IGNORED

    
// 3vo Testing - setting everything to a task
    
set_task(0.1"post_post_spawn"id)

    return 
HAM_IGNORED


If anyone can help trace and fix why this is happening in the first place, I would be very grateful.
3vo is offline