Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public plugin_init()
- {
- /*Dostep do konta za pomoca hasla csgomod*/
- register_concmd("Podaj_Haslo_Klany", "Check_Password_Klany");
- }
- public Menu_Klan(id)
- {
- if(csgo_has_player_password(id) == 0){Menu_Klan_Head(id);}
- else
- {
- if(csgo_get_user_acces(id) == 0){
- client_cmd(id, "messagemode Podaj_Haslo_Klany");
- }
- else{Menu_Klan_Head(id);}
- }
- }
- public Check_Password_Klany(id)
- {
- new text[16], status;
- read_argv(1, text, 15);
- status = csgo_check_provide_password(id, text);
- if(status == 1){
- Menu_Klan_Head(id);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement