linepick help

Blitz3D Forums/Blitz3D Programming/linepick help

Try with something like this:
If groundpick = player1\PlayerPivot Or groundpick=0 
EntityParent player1\PlayerPivot,0 
ElseIf GetParent(player1\PlayerPivot)<>groundpick
EntityParent player1\PlayerPivot,groundpick 
EndIf