Page 1 of 1
On ride check
Posted: Wed Feb 07, 2007 3:54 am
by Nosferatu
How i can chek if player is on horse or any other rideable npc ?
thnx
Posted: Wed Feb 07, 2007 4:17 am
by OldnGrey
To see if a player is mounted, test for the mount layer on the player ......
25 is the layer on the character that 'holds' the mount.
var mounted := GetEquipmentByLayer(player, 25);
if ( mounted )
// insert lines that run only if player mounted
endif
Posted: Wed Feb 07, 2007 11:57 am
by Nosferatu
U r really help's me big thnx for you.