Hey, so I want to check if the player ID that is passed in a command is a real player.
So I was going to try to check their ping or something like that, but I need the PlayerSrc of that player.
How can I do this on the server?
Hey, so I want to check if the player ID that is passed in a command is a real player.
So I was going to try to check their ping or something like that, but I need the PlayerSrc of that player.
How can I do this on the server?
yes off score
Hi, yes you can use this in a server-side script:
if GetPlayerIdentifiers(PlayerSrc)[1] ~= nil then
print("OK!")
else
print("PlayerSrc doesn't exist")
end
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.