Zipline - Speed around the rooftops! -
[HLF]Southclaw - 18.09.2014
Zipline.inc
Create fun and useful ziplines players can use to speed across large areas quickly. Warning: does not work well with laggy players.
Dependencies
Download
Available on GitHub:
Support the development of this library by
donating. I can put more time into adding new features!
Preview
[ame]http://www.youtube.com/watch?v=bdFGF7CtmpA[/ame]
Resources
Constants
- MAX_ZIPLINE: Zipline creation limit.
Functions
pawn Код:
CreateZipline(Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2, worldid = 0, interiorid = 0); // Create a zipline between the two sets of coordinates.
DestroyZipline(ziplineid); // Delete a zipline from the game world.
IsValidZipline(ziplineid); // Returns if a zipline ID is a valid zipline.
GetZiplineStartAreaID(ziplineid); // Returns the ID of the streamer area used for the start point.
GetZiplineEndAreaID(ziplineid); // Returns the ID of the streamer area used for the end point.
GetZiplineLineID(ziplineid); // Returns the ID of the line segment object used for the zipline.
GetZiplineStartPos(ziplineid, &Float:x, &Float:y, &Float:z); // Returns the start point position.
SetZiplineStartPos(ziplineid, Float:x, Float:y, Float:z); // Sets the start point position and updates the line segment object accordingly.
GetZiplineEndPos(ziplineid, &Float:x, &Float:y, &Float:z); // Returns the end point position.
SetZiplineEndPos(ziplineid, Float:x, Float:y, Float:z); // Sets the end point position and updates the line segment object accordingly.
GetZiplineVector(ziplineid, &Float:x, &Float:y, &Float:z); // Returns the 3D direction vector of the zipline from the start point.
GetZiplineWorld(ziplineid); // Returns the virtual world in which the zipline is located.
SetZiplineWorld(ziplineid, worldid); // Sets the virtual world of the zipline and updates the line segment object accordingly.
GetZiplineInterior(ziplineid); // Returns the interior in which the zipline is located.
SetZiplineInterior(ziplineid, interiorid); // Sets the interior of the zipline and updates the line segment object accordingly.
IsPlayerOnZipline(playerid); // Returns if a player is currently on any zipline.
GetPlayerZipline(playerid); // Returns the zipline that a player is currently on.
Hooked- OnPlayerKeyStateChange: For checking when a player interacts with a zipline entry point.
- OnPlayerEnterDynamicArea: For checking when the player reaches the end of a zipline so they can be removed.
Re: Zipline - Speed around the rooftops! -
Niko_boy - 18.09.2014
awesome stuff mate. Thought it would never be released
nice to see it here!
Re: Zipline - Speed around the rooftops! -
JacobEdwards - 18.09.2014
Never seen anything like it. Great job on this Southclaw.
Re: Zipline - Speed around the rooftops! -
Abagail - 18.09.2014
Amazing, creative and something - generally unseen. I really like the idea, and what I love even more is how many functions you provide which is amazing.
Re: Zipline - Speed around the rooftops! -
Pottus - 18.09.2014
The download link points to the wrong repository.
Re: Zipline - Speed around the rooftops! -
[HLF]Southclaw - 18.09.2014
Quote:
Originally Posted by Pottus
The download link points to the wrong repository.
|
Thanks for the heads up, fixed.
Re: Zipline - Speed around the rooftops! -
iFox - 18.09.2014
Very good!
Re: Zipline - Speed around the rooftops! -
Alex Magaсa - 18.09.2014
AMAZING LOVE IT!
Cool for COD Servers & War Zone Servers
great job Southclaw.
Respuesta: Zipline - Speed around the rooftops! -
MugiwaraNoLuffy - 19.09.2014
Awesome
Re: Zipline - Speed around the rooftops! -
AroseKhanNiazi - 19.09.2014
Awesome