Pvar types


SA-MP (and UG-MP too, obviously) offers a per-player variable system. It is thus possible to set variables for individual players. You can also set variables of different types. The table below has a list of these types (also called pvar types).


ID Constant
0 PLAYER_VARTYPE_NONE
1 PLAYER_VARTYPE_INT
2 PLAYER_VARTYPE_STRING
3 PLAYER_VARTYPE_FLOAT