Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #include <sdktools>
- #include <TF2_stocks>
- public Plugin:myinfo = {
- name = "T-pose",
- author = "Fuffeh",
- description = "",
- version = "1.0",
- url = ""
- };
- public OnPluginStart(){
- RegConsoleCmd("sm_tpose", Command_tpose, "Strip all weapons");
- }
- public Action:Command_tpose(client, args)
- {
- if(IsPlayerAlive(client)){
- TF2_RemoveAllWeapons(client);
- PrintToChat(client, "[SM] Stripped all weapons.");
- }
- else
- {
- PrintToChat(client, "[SM] Player has to be alive.");
- }
- return Plugin_Handled;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement