sniper buggyness
#1

Hi,

How can I stop the sniper rifle from moving you forwards, like when i'm on a ledge and aim it keeps moving me forwards then U falls off :dumb:

I'm new to PAWN, this happens on the PS2 version but will probably happen on the PC version too unless its fixed and the fix has been put in SAMP.
Reply
#2

From experiance Zooming in with a sinper does not cause you to walk forward?
Reply
#3

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
From experiance Zooming in with a sinper does not cause you to walk forward?
Even if it does you cant prevent it in PAWN.
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=312745

Yes use the Alter the IsPlayerAiming stock here.
Reply
#5

it's when you fire/un aim
Reply
#6

It can still be detected by Altering that function ;/

You could always use OnPlayerKeyStateChange().

Detect KEY_AIM and then check his weapon GetPlayerWeapon then get his co-ordinates and when it moves to OldKeys place him back at his starting position (ALOT Simpiler) Again I CBF to code it.
Reply
#7

cheers dude repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)