Hi guys,how can i make a command for only one class.For example only medic team can use a /heal code and /heal other players.Can anyone give me ?
if (player.Team != medicteamid) return MessagePlayer(player, "One does not simply heal other people without equipment.");
Use it if you know how to, otherwise stick to playing.
Quote from: EK.IceFlake on May 27, 2017, 10:10 AMif (player.Team != medicteamid) return MessagePlayer(player, "One does not simply heal other people without equipment.");
Use it if you know how to, otherwise stick to playing.
Thanks mate.