Lion cf3985ce00
Add Lua function to get a player's role (#366)
Adds `MP.GetPlayerRole(player_id)` to the Lua API to get a player's role
("USER", "EA", "MDEV", "STAFF", "ET") by their player id.
Currently you can only get someone's role in onPlayerAuth from the
parameters and in onVehicleSpawned and onVehicleEdited from the packet
data, but not in onPlayerJoin for example without storing it.
2024-10-05 16:09:37 +02:00
..
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-06-26 14:06:06 +02:00
2024-09-29 01:15:48 +02:00
2024-10-05 16:09:02 +02:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-05-15 12:54:50 +02:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-06-26 14:06:06 +02:00
2024-10-05 16:07:27 +02:00
2024-03-07 01:03:16 +01:00
2024-06-26 14:06:06 +02:00
2024-06-26 14:06:06 +02:00
2024-01-23 21:00:11 +01:00
2024-05-15 12:57:08 +02:00
2024-05-21 13:40:33 +02:00
2024-02-07 16:07:22 +01:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-09-29 01:15:48 +02:00
2024-01-23 21:00:11 +01:00
2024-06-26 14:06:06 +02:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00
2024-01-23 21:00:11 +01:00