Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Clockwork = Clockwork;
- local COMMAND = Clockwork.command:New("Tracking");
- COMMAND.tip = "Activate viewing of unit's Biosignals.";
- COMMAND.arguments = 1;
- -- Called when the command has been run.
- function COMMAND:OnRun(player, arguments)
- local args = arguments[1]
- local name = player:Name()
- if(Schema:PlayerIsCombine(player)) then
- if(string.find(name, "EpU") or string.find(name, "DvL") or string.find(name, "SeC") or string.find(name, "CmD") or string.find(name, "OfC")) then
- if(string.lower(args) == "on") then
- player:ConCommand("bio 1")
- else
- player:ConCommand("bio 0")
- end;
- else
- Clockwork.player:Notify(player, "You must be at least an OfC to use this!")
- end;
- else
- Clockwork.player:Notify(player, "You are not the Combine!")
- end;
- end;
- COMMAND:Register();
Advertisement
Add Comment
Please, Sign In to add comment