Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #incluce <cstrike>
- public Plugin:myInfo =
- {
- name: "Poradnik",
- author: "Ziomal",
- description = "Pierwszy Plugin",
- version = "1.0",
- url = "http://przyklad.pl/"
- };
- public OnPluginStart()
- {
- RegConsoleCmd("sm_komenda", Cmd_sm_komenda, "Podstawowa komenda bla bla")
- }
- public Action:Cmd_sm_komenda(client, args)
- {
- if(client == 0)
- {
- ReplyToCommand(client, "%t", "Komenda jest wylacznie dla graczy.");
- return Plugin_Handled;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment