Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action OnCommandShowRules(int client, int args) {
- if (IsValidClient(client))
- {
- QueryClientConVar(int client, "cl_disablehtmlmotd", view_as<ConVarQueryFinished>(ClientConVar), int provider);
- if (ClientConVar == 1)
- PrintToChat(client, "Failed to display the rules, please set cl_disablemotdmod to 0.")
- else
- ShowMOTDPanel(client, "Devils Playground - HnS Rules", "http://devilsplayground.eu/rules.html", MOTDPANEL_TYPE_URL);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement