View Single Post
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-19-2018 , 08:30   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #8

Quote:
Originally Posted by ImACow View Post
PHP Code:
Dump of all network properties for "csgo" as at 2018/08/12
Member
m_iProgressBarDuration (offset 9640) (type integer) (bits 5) ()
Memberm_flProgressBarStartTime (offset 9636) (type float) (bits 0) (NoScale
Could someone try if its just me? or all the CS:GO's ?

PHP Code:
#include <sourcemod>

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo = {
    
name        "",
    
author      "",
    
description "",
    
version     "0.0.0",
    
url         ""
};

public 
void OnPluginStart()
{
    
PrintToServer("Hello, World!");
    
RegAdminCmd("sm_timer"Command_TimerADMFLAG_GENERIC"sm_timer");
    
}



public 
Action Command_Timer(int clientint args)
{
    
SetEntPropFloat(clientProp_Data"m_flProgressBarStartTime"GetGameTime());
    
SetEntProp(clientProp_Data"m_iProgressBarDuration"5);
    
ReplyToCommand(client" [SM] Did it show up?");
    return 
Plugin_Handled;

Blaming: progressbar.smx
L 08/19/2018 - 20:27:58: [SM] Call stack trace:
L 08/19/2018 - 20:27:58: [SM] [0] SetEntPropFloat
L 08/19/2018 - 20:27:58: [SM] [1] Line 25, /home/forums/content/files/2/5/8/2/3/3/170914.attach::Command_Timer
L 08/19/2018 - 20:298: [SM] Exception reported: Property "m_flProgressBarStartTime" not found (entity 2/player)
__________________
8guawong is offline