PHP Code:
function Swing(){
if(null in { player.x + 3, player.y + 1.5 } ){
triggeraction(player.x + 3, player.y + 1.5, "Contact", player.account);
player.chat = "Contact!";
}else{
player.chat = "No contact!";
}
}
I've been trying to check if the player hit's nothing. been kind of difficult to do and this is my latest attempt, any suggestions?