Sha256: b5dc944804b406ea83a843590b285f441ef0469a2f27c91da0c5f7b93b06974a
Contents?: true
Size: 566 Bytes
Versions: 6
Compression:
Stored size: 566 Bytes
Contents
# This class is set in the config. Every time the client sends it's location # the verify method is called. You can use this to prevent things like speed hacking. module Example class TrackingHandler # This method must return true for the players location to be saved. # If you return false here, the location sent by the player will be discarded def verify(entity) #vector = entity.vector3 #player_id = entity.id #entity_type = entity.entity_type #track_extra = entity.track_entity.track_extra true end end end
Version data entries
6 entries across 6 versions & 1 rubygems