Quote:
Originally Posted by weeeishy
I believe the latest update broke the arms fix. They are overlapping. No error logs.
|
I have edited andi67's verison so it still works for me.
PHP Code:
public Action OnPlayerSpawn(Handle event, const char[] name, bool dontBroadcast)
{
// Does plugin is enabled?
if (GetConVarBool(sc_enable))
{
// Get real player index from event key
int client = GetClientOfUserId(GetEventInt(event, "userid"));
if (!IsFakeClient(client) && IsValidClient(client))
{
// Only do this when player select custom skin
if(Selected[client] > 0)
{
SetDefaultModels(client);
CreateTimer(0.5, SetModels , client);
}
}
}
}
********* EDIT *********
Not working in de_mirage if ct player spawn with no weapon, and pick up a weapon.
__________________