Guest User

Untitled

a guest
Nov 23rd, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <sourcemod>
  2. #incluce <cstrike>
  3.  
  4. public Plugin:myInfo =
  5. {
  6. name: "Poradnik",
  7. author: "Ziomal",
  8. description = "Pierwszy Plugin",
  9. version = "1.0",
  10. url = "http://przyklad.pl/"
  11. };
  12.  
  13. public OnPluginStart()
  14. {
  15. RegConsoleCmd("sm_komenda", Cmd_sm_komenda, "Podstawowa komenda bla bla")
  16. }
  17.  
  18. public Action:Cmd_sm_komenda(client, args)
  19. {
  20. if(client == 0)
  21. {
  22. ReplyToCommand(client, "%t", "Komenda jest wylacznie dla graczy.");
  23. return Plugin_Handled;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment