Game Development Community

Finding if player is mounted to vehicle.

by Adam Troutman · in General Discussion · 10/04/2006 (7:57 pm) · 2 replies

Okay I want to know if there is a way for me to check if a player is mounted to something so that if the player is mounted to a certain vehicle so i can use it in an if statement.

Thanks

#1
10/04/2006 (11:46 pm)
%player.isMounted();

%vehicle.getControllingClient();

Top one tells you whether client is mounted in a vehicle bottom one tells you which client is in the vehicle.
#2
10/05/2006 (12:59 pm)
Thanks that will save me some time :)