SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 07/01/2012, 06:58 PM   #1
Norck
Huge Clucker
 
Norck's Avatar
 
Join Date: Aug 2008
Location: Ukraine, Simferopol
Posts: 388
Reputation: 43
Default Fly! Just like a superman!

Description:

This include allows you to fly around San Andreas. There is few functions that you can use in your gamemode/filterscript. Probably there is already was something like this, but I want to release this anyway, since I'm using this feature on my server for admins-only.

Video:

This is how it looks like:
[ame]http://www.youtube.com/watch?v=PZ7Cvgkwack[/ame]


Functions:

There is only 3 functions that you need to use:
pawn Code:
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

Controls:

MOVE FORWARD KEY = fly forward
MOUSE MOVEMENTS = select direction
FIRE KEY = increase height
AIM KEY = decrease height
SPRINT KEY = increase speed
WALK KEY = decrease speed

Download:
fly.inc + example FS:
http://solidfiles.com/d/289d6c8fdf/
fly.inc:
http://pastebin.com/HcM7bw4Q
example fs:
http://pastebin.com/Km9skAdL

Credits:
Creator of SetPlayerLookAt function. Sorry, I can't remember the name.
__________________
Releases: fly.inc

Last edited by Norck; 09/01/2012 at 08:33 AM.
Norck is offline   Reply With Quote
Old 07/01/2012, 07:00 PM   #2
Michael@Belgium
High-roller
 
Michael@Belgium's Avatar
 
Join Date: Dec 2010
Location: Belgium
Posts: 1,768
Reputation: 1001
Default Re: Fly. Just like a superman.

LOL Good work
__________________

Need host-tab ? Contact me on discord^

sO aCtIvE
You last visited: 11/01/2018 at 11:21 PM
You last visited: 09/10/2018 at 08:30 PM
Michael@Belgium is offline   Reply With Quote
Old 07/01/2012, 07:01 PM   #3
sherlock
Gangsta
 
sherlock's Avatar
 
Join Date: Aug 2010
Location: United Kingdom
Posts: 900
Reputation: 60
Default Re: Fly. Just like a superman.

like the cleo mod lol
__________________


sherlock is offline   Reply With Quote
Old 07/01/2012, 07:05 PM   #4
Psymetrix
Huge Clucker
 
Join Date: Oct 2011
Posts: 292
Reputation: 104
Default Re: Fly. Just like a superman.

It's amazing how far SAMP has come over the years. Nice job.
Psymetrix is offline   Reply With Quote
Old 07/01/2012, 07:20 PM   #5
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,004
Reputation: 824
Default Re: Fly. Just like a superman.

awesome
Kaperstone is offline   Reply With Quote
Old 07/01/2012, 08:55 PM   #6
[FBI]M.Vulture[XAC]
Little Clucker
 
Join Date: Jul 2011
Posts: 28
Reputation: 0
Default Respuesta: Fly. Just like a superman.

So nice
[FBI]M.Vulture[XAC] is offline   Reply With Quote
Old 08/01/2012, 10:29 AM   #7
Karl..
Little Clucker
 
Join Date: Jan 2012
Posts: 30
Reputation: 1
Default Re: Fly. Just like a superman.

Haha Cool.
__________________
[Server Name]. . : :OFFICIAL-GANGWARS: : . .
[IP]Comming Soon
[Mode]Gangwars
[Map]San Andreas
[Website] Comming Soon
[Dedicated Server Being Built]
Karl.. is offline   Reply With Quote
Old 08/01/2012, 10:34 AM   #8
ang12123
Big Clucker
 
ang12123's Avatar
 
Join Date: Aug 2010
Posts: 64
Reputation: 0
Default Re: Fly. Just like a superman.

Best include , i was watching fot shi log time , thank you!!
__________________





ang12123 is offline   Reply With Quote
Old 12/01/2012, 02:38 AM   #9
Hardware
Gangsta
 
Hardware's Avatar
 
Join Date: Dec 2010
Location: Guaíba, Rio Grande do Sul
Posts: 640
Reputation: 43
Default Re: Fly. Just like a superman.

Wonderful include. Congratulations.
Hardware is offline   Reply With Quote
Old 12/01/2012, 02:50 AM   #10
WeenSoares_
Huge Clucker
 
Join Date: Dec 2011
Location: Rio de Janeiro, Brazil
Posts: 362
Reputation: 21
Default Re: Fly. Just like a superman.

Very Fuck, Congratulations, FS Very Good!
WeenSoares_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Superman Correlli Filterscripts 40 23/06/2013 05:02 PM


All times are GMT. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.