Quote:
Originally Posted by Marttt
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(ent, Prop_Send, "m_flModelScale", 0.0);
To:
PHP Code:
SetEntPropFloat(dummy, Prop_Send, "m_flModelScale", 0.0);
__________________