[DiscordArchive] `player->GetSession()->GetSecurity()`?
[DiscordArchive] `player->GetSession()->GetSecurity()`?
Archived author: Bench • Posted: 2023-09-07T23:14:22.955000+00:00
Original source
`player->GetSession()->GetSecurity()`?
Archived author: Trojan • Posted: 2023-09-07T23:14:45.406000+00:00
Original source
returns me the actual securitylevel of the person?
Archived author: Trojan • Posted: 2023-09-07T23:14:55.015000+00:00
Original source
1,2,3,4(console)
Archived author: Bench • Posted: 2023-09-07T23:15:04.370000+00:00
Original source
Yep, it'll return the number
Archived author: Trojan • Posted: 2023-09-07T23:15:10.161000+00:00
Original source
perfect
Archived author: Bench • Posted: 2023-09-07T23:15:11.159000+00:00
Original source
If you do use it on console it'll crash tho iirc
Archived author: Trojan • Posted: 2023-09-07T23:15:14.350000+00:00
Original source
thats what i need
Archived author: Bench • Posted: 2023-09-07T23:15:27.016000+00:00
Original source
You'll want to account for that with `player->IsConsole()` I believe
Archived author: Bench • Posted: 2023-09-07T23:16:56.138000+00:00
Original source
I might be confusing player with chathandler on that one, been a bit since I've messed with it
Archived author: Trojan • Posted: 2023-09-07T23:17:55.576000+00:00
Original source
if (_session->GetSecurity() < 4)