OnCardSwipe hook working?Solved
Is this working? or am i doing it wrong.

object OnCardSwipe(CardReader reader, Keycard card, BasePlayer player)
{
    Puts("working?");
    return null;
}​
Does it print the output?
No nothing.
If it isn't being called when you are testing, then it hasn't gotten past the native checks in Rust that come before the card processing; else you aren't on the latest Oxide build.
ill run the update to be sure im on the latest and post back.
You can see where it is handled here:



this = CardReader
ok i must of had old oxide build as its working after i ran the update thanks.
Locked automatically