What about this works fine with latest compile.
New Snytax:
PHP Code:
#include < sourcemod >
#pragma semicolon 1
#pragma newdecls required
public void OnPluginStart( )
{
float fTest[ 3 ];
fTest = view_as<float>( { 0.0, 0.0, 0.0 } );
PrintToServer( "%.1f, %.1f, %.1f", fTest[ 0 ], fTest[ 1 ], fTest[ 2 ] );
}
// Edit: this one works too
Old:
PHP Code:
float fTest[ 3 ] = { 0.0, 0.0, 0.0 };