Alright guys, I've got a issue. I want to loop through this function at a specefic interval, lets say per 300ms. (It's the SigOnState function that I want to loop). The problem is that you can't loop through a function without returning a type and If I returned the 2 line in the SigOnState it would give me a error saying pEnginePointer is not found(Image: ).. Please help me out!
Public Function SigOnState() As Integer
Dim pEnginePointer = Mem.ReadInt(bEngine + oEngine, 4)
Return Mem.ReadInt(pEnginePointer + &H100, 4)
End Function
Public Function IsInGame() As Boolean
Return SigOnState() = 6 'If player is connected to a server.
End Function