Question.
#1

Hello.

I saw on few servers, and I don't know how to do.
How can I use a command on player's name or ID. For example:

pawn Код:
/Ban [Player ID/Part Of Name]
+Rep.
Reply
#2

pawn Код:
sscanf(params,"u",targetid)
Quote:

The q, r, and u specifiers search for a user by name or ID.

https://github.com/Y-Less/sscanf/wiki/Users
Reply
#3

Lol.
I'd never used "u" for names, I thought it's only for player IDs.
But now I know. Thank you!
+Rep.

Edit: I gave you rep, I can't right now. When I can, i'll gave.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)