[Help]Assigning Textures via Code

#1
Hello. I am attempting to assign textures to a model via the Source Code, but I can't seem to do it correctly and I get an error message

Code: Select all

"Expecting identifier. File: c:\users\REDACTED\documents\REDACTED\scp - containment breach\source code\npcs.bb Line: 190, Column: 10"
This is the code for SCP-096 that I'm using.(Some parts are unaltered.)
v

Code: Select all

		Case NPCtype096
			n\Collider = CreatePivot()
			EntityRadius n\Collider, 0.25
			EntityType n\Collider, HIT_PLAYER
			n\obj = LoadAnimMesh("GFX\npcs\scp096.b3d")
			Local 096tex = LoadTexture("GFX\npcs\character_infected.jpg")
			EntityTexture n\obj, 096tex
			
			MeshCullBox (n\obj, -MeshWidth(n\obj)*2, -MeshHeight(n\obj)*2, -MeshDepth(n\obj)*2, MeshWidth(n\obj)*2, MeshHeight(n\obj)*4, MeshDepth(n\obj)*4)
			
			n\Speed = (GetINIFloat("DATA\NPCs.ini", "SCP-096", "speed") / 100.0)
			
			temp# = (GetINIFloat("DATA\NPCs.ini", "SCP-096", "scale") / 3.0)
			ScaleEntity n\obj, temp, temp, temp	
My YouTube. I make bad content.
My Steam. Add me if you'd like.