adding VIP_Menu

This commit is contained in:
neon
2019-01-15 22:22:14 +01:00
parent 59792303db
commit c89e6f8235
3 changed files with 165 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,6 @@ public void OnPluginStart()
RegConsoleCmd("sm_viptest", Command_VIP, "Activate free VIP period");
RegConsoleCmd("sm_testvip", Command_VIP, "Activate free VIP period");
RegConsoleCmd("sm_vip", Command_VIP, "Activate free VIP period");
AutoExecConfig();
@@ -228,6 +227,7 @@ public void TQueryCBCommand(Handle owner, Handle rs, const char[] error, any dat
ApplyGroupFlags(client);
PrintToChat(client, "[UNLOZE] You have now access to !zclass, !tag and !glow and other VIP-Perks.");
PrintToChat(client, "[UNLOZE] Your TEST VIP will expire in %d minutes!", g_cvFreeVIPDuration.IntValue);
FakeClientCommandEx(client, "sm_vip");
}
}