Sir Gak is probably right about you not using a float for your z velocity.
bad, bad, bad:
beginning of program
not ideal:
in user input section:
unnecessary data:
lastly: What are the forum codes?
bad, bad, bad:
shot\model = LoadMesh("C:\Documents and Settings\flacka\Desktop\Game\bullet head.3ds") shot\casing = LoadMesh("C:\Documents and Settings\flacka\Desktop\Game\b caseing.3ds")good:
beginning of program
;bulletmesh = LoadMesh("bullet.b3d") ;load in a bullet mesh (this will be a template mesh) ;do any scaling here as wellin your CheckWeapon function
bullet\entityhandle = CopyEntity(bulletmesh) ;create the bullet mesh
not ideal:
If MouseHit(1)better:
in user input section:
mouse1 = MouseHit(1)in your CheckWeapon function:
If mouse1
unnecessary data:
shot\x = EntityX(pistol\model) shot\y = EntityY(pistol\model) shot\z = EntityZ(pistol\model)
lastly: What are the forum codes?