[Suggestions] Some Functions?
#10

IsTrailerAttached(trailerid) would be useful. Atm it is possible to see if a vehicle has a trailer attached to it, but there is no way to see if a vehicle is a trailer and is attached to a vehicle. Kalcor told me on IRC to make this myself using OnPlayerUpdate, but that requires the player to be in the vehicle when the trailer dettaches, but trailers can dettach from vehicles without the vehicle having anybody in it.

Also IsPlayerSwimming(playerid) would be very useful. I know you can check if a player is below 0.0 but water levels aren't always at 0.0 because of tide. There is also water in swimming pools etc. A function to check if a player is swimming would just be awesome. A way to make this function could possibly check if a players oxygen bar is showing? If the bar is showing then the player is in a considerable amount of water, well enough to be swimming anyway.
Reply


Messages In This Thread
[Suggestions] Some Functions? - by Momo5000 - 07.12.2010, 06:50
Re: [Suggestions] Some Functions? - by leong124 - 07.12.2010, 07:16
Re: [Suggestions] Some Functions? - by Johnny_Xayc - 07.12.2010, 07:25
Re: [Suggestions] Some Functions? - by Momo5000 - 07.12.2010, 07:31
Re: [Suggestions] Some Functions? - by Simon - 07.12.2010, 08:47
Re: [Suggestions] Some Functions? - by __ - 07.12.2010, 08:51
Re: [Suggestions] Some Functions? - by sasuke78200 - 07.12.2010, 09:17
Re: [Suggestions] Some Functions? - by Joe Staff - 07.12.2010, 09:18
Re: [Suggestions] Some Functions? - by Momo5000 - 07.12.2010, 21:30
Re: [Suggestions] Some Functions? - by BeckzyBoi - 07.12.2010, 21:42

Forum Jump:


Users browsing this thread: 1 Guest(s)