diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:55:24 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:55:24 +0300 |
| commit | 628d33984d9228f1781d13a65fbb80f35facc899 (patch) | |
| tree | cd909141f87e14f22c3511549a9bc067d9ff8b50 /Client/Action/Action_Push.sqf | |
| download | a2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.tar.gz a2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.tar.bz2 a2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.zip | |
init
Diffstat (limited to 'Client/Action/Action_Push.sqf')
| -rw-r--r-- | Client/Action/Action_Push.sqf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Client/Action/Action_Push.sqf b/Client/Action/Action_Push.sqf new file mode 100644 index 0000000..8d2429c --- /dev/null +++ b/Client/Action/Action_Push.sqf @@ -0,0 +1,8 @@ +Private ["_dir","_speed","_vehicle","_vel"];
+
+_vehicle = _this select 0;
+
+_vel = velocity _vehicle;
+_dir = direction _vehicle;
+_speed = 10;
+_vehicle setVelocity [(_vel select 0)+((sin _dir)*_speed),(_vel select 1)+((cos _dir)*_speed),(_vel select 2)];
\ No newline at end of file |
