Fly! Just like a superman! -
Norck - 07.01.2012
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 Код:
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.
Re: Fly. Just like a superman. -
Michael@Belgium - 07.01.2012
LOL
Good work
Re: Fly. Just like a superman. -
sherlock - 07.01.2012
like the cleo mod lol
Re: Fly. Just like a superman. -
Psymetrix - 07.01.2012
It's amazing how far SAMP has come over the years. Nice job.
Re: Fly. Just like a superman. -
Kaperstone - 07.01.2012
awesome
Respuesta: Fly. Just like a superman. -
[FBI]M.Vulture[XAC] - 07.01.2012
So nice
Re: Fly. Just like a superman. -
Karl.. - 08.01.2012
Haha Cool.
Re: Fly. Just like a superman. -
ang12123 - 08.01.2012
Best include , i was watching fot shi log time , thank you!!
Re: Fly. Just like a superman. -
Hardware - 12.01.2012
Wonderful include. Congratulations.
Re: Fly. Just like a superman. -
Snowman12 - 12.01.2012
Hehe, forgot to disable my Anticheat plugin. 3, 2, 1 - BANNED.
great job from what I could see.
Re: Fly. Just like a superman. -
SourceCode - 12.01.2012
https://sampforum.blast.hk/showthread.php?tid=115968, isn't this exactly the same? btw is the flying smooth?
Re: Fly. Just like a superman. -
royal_king - 12.01.2012
Great stuff! rep+
Re: Fly. Just like a superman. -
Aldo. - 12.01.2012
This is very amazing only if direction was smoother
Re: Fly. Just like a superman. -
Min - 12.01.2012
Nice job dude
Re: Fly. Just like a superman. -
DanL - 12.01.2012
Nice
Re: Fly. Just like a superman. -
Norck - 12.01.2012
Quote:
Originally Posted by SourceCode
|
Maybe, but this is include, so this feature can be easily added into gamemode or filterscript that is already exists.
As you can see from the video it's smooth enough
Thanks all
Re: Fly. Just like a superman. -
Jantjuh - 12.01.2012
Quote:
Originally Posted by Psymetrix
It's amazing how far SAMP has come over the years. Nice job.
|
+1
Great job!
Re: Fly. Just like a superman. -
TheArcher - 12.01.2012
Nice, you should work more on angles rotation. Good job though
Re: Fly. Just like a superman. -
arham - 13.01.2012
can u make it, when u press a key, it enables ur fly, if u press it again it disables it?
Re: Fly. Just like a superman. -
Marshall32 - 17.01.2012
This is really good.