Hello !
I have some entities that I must kill. I have this code for the moment :
PHP Code:
gFuncInfoTargetKilled = Rage->get_virtual_function( "Killed" )->create_with_class( "info_target" );
gFuncBreakableKilled = Rage->get_virtual_function( "Killed" )->create_with_class( "func_breakable" );
gFuncPlayerKilled = Rage->get_virtual_function( "Killed" )->create_with_class( "player" );
I think it is possible to have just one pointer no ?
PHP Code:
gFuncEntity = Rage->get_virtual_function( "Killed" )->create_with_object( "CBase_Entity" ); // ?
Thank you !
__________________