Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a admin command that targets the player I name?

Asked by 4 years ago

So I've been searching FOREVER online to find out how to do this and I can never find out how I've tried making my own custom admin commands but I don't know how to target a player by name like if I were to put :kill guest123 I have no idea how to target that player I only know simple :kill all :kill me :kill others -- Can anybody solve this for me please?

0
I hate to say this but just take the Island Life free model of admin :( iivSnooxy 248 — 4y

1 answer

Log in to vote
1
Answered by
Lyphios 77
4 years ago
Edited 4 years ago

Hold on there cheif, have you made an admin command system yet? If so, you'd have to literally show us how that worked. Then we could actually help you. But from the info you already gave, make the script look through the playerlist and make a string.match from the name being chatted/commanded and the player in the list.

0
Otherwise, this ain't a request site. Also stop using client sided free model tools in your game lmao Lyphios 77 — 4y
Ad

Answer this question