Registers the superadmin command /PlySetIcon of the Extra Commands plugin, which gives the target player a custom
PNG icon from a local path or a URL and sends it to clients.
Summary
Methods
OnRun(player, arguments)shared
Sets a custom PNG icon for the target player and sends it to clients.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/extracommands/plugin/commands/sh_plyseticon.lua:15Sets a custom PNG icon for the target player and sends it to clients.
The icon is a local path or an http(s) URL; URLs are cached as catwork/icon_<SteamID64>.png.
Stored in the player's CustomIcon data and sent with Schema:SendIconData.
Parameters
- player
- arguments