View Single Post
bullet28
Member
Join Date: Apr 2012
Old 09-28-2020 , 22:10   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.4) [10-May-2020]
Reply With Quote #16

HTML Code:
	int entity = FindEntityByClassname(-1, "info_director"); // Every map should have a director, so not checking if invalid.
Not really..

HTML Code:
Info (map "uz_escape")
[SM] Exception reported: Entity -1 (-1) is invalid
[SM] Blaming: l4d_skip_intro.smx
Call stack trace:
   [0] GetEntPropString
   [1] Line 101, l4d_skip_intro.sp::TimerStart
uz_escape is a map of "Undead Zone" custom campaign

Last edited by bullet28; 09-28-2020 at 22:13.
bullet28 is offline