Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. public plugin_init()
  2. {
  3. /*Dostep do konta za pomoca hasla csgomod*/
  4. register_concmd("Podaj_Haslo_Klany", "Check_Password_Klany");
  5. }
  6.  
  7. public Menu_Klan(id)
  8. {
  9. if(csgo_has_player_password(id) == 0){Menu_Klan_Head(id);}
  10. else
  11. {
  12. if(csgo_get_user_acces(id) == 0){
  13. client_cmd(id, "messagemode Podaj_Haslo_Klany");
  14. }
  15. else{Menu_Klan_Head(id);}
  16. }
  17. }
  18.  
  19. public Check_Password_Klany(id)
  20. {
  21. new text[16], status;
  22. read_argv(1, text, 15);
  23.  
  24. status = csgo_check_provide_password(id, text);
  25.  
  26. if(status == 1){
  27. Menu_Klan_Head(id);
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement