Player:mem

From PGE Wiki
Jump to: navigation, search

Functions

Player:mem(int offset, int fieldtype) Returns the players attribute at offset, of the size fieldtype
Player:mem(int offset, int fieldtype, object value) Sets the players attribute at offset, of the size fieldtype, to value

A list of player memory offsets can be found on the following page:

SMBX Player Offsets