Bardzo prosty plugin który blokuje następujące komendy:
- chooseteam
- jointeam
@ EDIT: Jeśli chcesz żeby można było dołączać do drużyn z pozycji SPECT zamień client_command na to:
public client_command(id) { if(get_user_team(id) == 1 || get_user_team(id) == 2) { new szSaidCommand[12]; read_argv(0, szSaidCommand, 11); if(equal(szSaidCommand, "jointeam", 8)) { client_print(id, print_console, "Never try to change a team."); return PLUGIN_HANDLED; } else if(equal(szSaidCommand, "chooseteam", 10)) { client_print(id, print_console, "Never try to change a team."); return PLUGIN_HANDLED; } } return PLUGIN_CONTINUE; }
Załączone pliki
Użytkownik funfel edytował ten post 12.01.2012 02:15