Is it imposible?
#1

Hello everybody I have some questions.
Is it imposible to do something like move faster on the server Ex. Player want to run everytime not even when he hold space.
Another question is Is it imposible to do when player do damage it is more.
Reply
#2

for the second question, yes.

https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage

https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage

https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot

https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate

for the first one, idk, don't think so, maybe with SetPlayerVelocity or something, might be possible, but it'll probably look terrible.

https://sampwiki.blast.hk/wiki/SetPlayerVelocity
https://sampwiki.blast.hk/wiki/GetPlayerVelocity

although with a vehicle it IS possible, it'll work nice n smooth.

https://sampwiki.blast.hk/wiki/SetVehicleVelocity

https://sampwiki.blast.hk/wiki/GetVehicleVelocity

or you could use SetVehicleSpeed, or something like that( those are custom functions, ****** for them ).
Reply
#3

You don't need velocity functions for running - you just need to apply the 'running' animation when a player's holding an arrow key.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)