06.03.2011, 19:19
Oh btw guys I haven't really told almost anyone that when you apply bike a certain matching animation of driving with the right animation parameters, you get a ultimate anti fall bike effect. I've got an example code for few bikes. And just a note, i had sent that to Matite, but he didn't really seem to try it out, so why don't you?
ApplyAnimation(playerid,"BIKED","BIKEd_Ride",4.1,1 ,1,1,0,0,1); // Sanchez
ApplyAnimation(playerid,"BIKES","BIKEs_Ride",4.1,1 ,1,1,0,0,1); //BIKES - NRG
And as far as I remember that's it! (And remember to preload animlib when needed). Oh and there may be some glitches with random multi key pressing, like you press enter, and do it in a way to not leave the bike (it's possible) then you f it up. And clearly it looses it's effect after the player has left the bike. Which only happens in 2 occasions:
1. Leaving the bike with key. 2.Dying. So enjoy and make a nice FS out of these 2 lines. :P !
Note if it's not understandable : It's vital for looks and actually usage that the animation matches that very bike animations. (Bikesomething_Ride where bikesomething matches the right bike).
ApplyAnimation(playerid,"BIKED","BIKEd_Ride",4.1,1 ,1,1,0,0,1); // Sanchez
ApplyAnimation(playerid,"BIKES","BIKEs_Ride",4.1,1 ,1,1,0,0,1); //BIKES - NRG
And as far as I remember that's it! (And remember to preload animlib when needed). Oh and there may be some glitches with random multi key pressing, like you press enter, and do it in a way to not leave the bike (it's possible) then you f it up. And clearly it looses it's effect after the player has left the bike. Which only happens in 2 occasions:
1. Leaving the bike with key. 2.Dying. So enjoy and make a nice FS out of these 2 lines. :P !
Note if it's not understandable : It's vital for looks and actually usage that the animation matches that very bike animations. (Bikesomething_Ride where bikesomething matches the right bike).