29.06.2017, 08:09
(
Последний раз редактировалось GaByM; 18.10.2017 в 16:56.
Причина: typo
)
I modified Norck's include (which can be found here https://sampforum.blast.hk/showthread.php?tid=309467) and I made it compatible with vehicles.
Controls:
KEY_UP (up arrow) - move
KEY_RIGHT (right arrow) - go up
KEY_LEFT (left arrow) - go down
KEY_ANALOG_RIGHT (numpad 6) - increase speed
KEY_ANALOG_LEFT (numpad 4) - decrease speed
Functions:
(no new function, no need to change anything in gamemode/fs)
Download & install:
Replace the original fly.inc with this: (there is no new function, it automatically detect if the player is in vehicle)
https://pastebin.com/tx1Cn4hC
----------
Because Norck's last activity was in 2015, i don't have any credits.
Controls:
KEY_UP (up arrow) - move
KEY_RIGHT (right arrow) - go up
KEY_LEFT (left arrow) - go down
KEY_ANALOG_RIGHT (numpad 6) - increase speed
KEY_ANALOG_LEFT (numpad 4) - decrease speed
Functions:
(no new function, no need to change anything in gamemode/fs)
PHP код:
InitFly(playerid) // reset player's fly variable, put it in OnPlayerConnect
bool:StartFly(playerid) // start flying, put it in your /fly command, returns false if player is already flying, otherwise returns true
bool:StopFly(playerid) // stop flying, put it in your /stopfly command, returns false if player is already not flying, otherwise returns true
Replace the original fly.inc with this: (there is no new function, it automatically detect if the player is in vehicle)
https://pastebin.com/tx1Cn4hC
----------
Because Norck's last activity was in 2015, i don't have any credits.