PDA

View Full Version : [LScript] LiL Help



Militair
9th April 2006, 22:17
hey all, just started lscript but nvm:bunny:

eehm.. how i can hear my firerate while autofiring at enemy.. i know it for USCRiPT but for LSCiPT its totally new for me :s i have

PC.Fire()
PC.Pawn.Weapon.ServerFire(True,True,True)
PC.Pawn.Weapon.PlayFiring()

And now nothin happends..

can u guys explain me what i replace instead off silent fire so i can hear my Gun Autofiring:)


PS: SORRY FOR BAD ENGLISH(K)

Grtz. :dancer:[The_UnreaL]:dancer:

SmokeZ
10th April 2006, 02:03
PC.Pawn.Weapon.Fire()
PC.Pawn.Weapon.LocalFire()


both are working.. ;O

Militair
10th April 2006, 19:35
but now i wont fire

so it is

PC.Pawn.Weapon.Fire()
PC.Pawn.Weapon.LocalFire()
PC.Pawn.WEapon.Serverfire(True,True,True)
?? :)(K)

SmokeZ
10th April 2006, 22:01
PC.Pawn.Weapon.Fire() dosnt fire ?.. Fire() also calls serverfire so it shuld work..
but you can use serverfire and play the "fire sound" yourself but dont ask me where the sound is placed..