GetPlayerID
#1

Hello, I've looked for the function "GetPlayerID" everywhere, but I couldn't find the SAMP wiki one (the one that made by ******), can someone give me the GetPlayerID please?
Reply
#2

NVM found.
Reply
#3

What the function does ?
Reply
#4

If it's the function that gets the id from a name, you can just use sscanf.
Код:
sscanf(name, "u", variable);
Reply
#5

Quote:
Originally Posted by Stinged
Посмотреть сообщение
If it's the function that gets the id from a name, you can just use sscanf.
Код:
sscanf(name, "u", variable);
Nope, I've made a command to unban a player, and the player is OFFLINE of course because he's banned.
So the admin must write a player name, not an ID.
Reply
#6

So why do you need to get a player's ID if he's offline...?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)