View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-05-2019 , 21:07   Re: [L4D & L4D2] Decoration For Witch Killer, Witch Guard
Reply With Quote #26

Quote:
Originally Posted by Marttt View Post
Fork from Dragokas version (v.1.4.1)
  • Added "pt" and "es" translations. ("phrases" file can also be used in 1.4.0)
  • Created a new convar: l4d_witch_guard_steal - Enables/Disables other clients to steal(pick up) a Witch from other owners while on the ground.
    (default "0" => disabled, gonna print "Steal_Witch" message to the activator)
  • Replaced pipebomb model for the already precached molotov.
  • Removed fire from Witch's foot.
PHP Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d_witch_onback.sp
//
// l4d_witch_onback.sp(107) : warning 219: local variable "ent" shadows a variable at a preceding level
// l4d_witch_onback.sp(493) : warning 219: local variable "ent" shadows a variable at a preceding level
// l4d_witch_onback.sp(537) : error 017: undefined symbol "ent"
// l4d_witch_onback.sp(607) : warning 219: local variable "ent" shadows a variable at a preceding level
//
// 1 Error.
//
// Compilation Time: 0.19 sec
// ----------------------------------------

Press enter to exit ... 
Change line 537:

From:

PHP Code:
SetEntPropFloat(entProp_Send"m_flModelScale"0.0); 
To:

PHP Code:
SetEntPropFloat(dummyProp_Send"m_flModelScale"0.0); 
__________________
Psyk0tik is offline