Page 1 of 1
Pagalbos dėl jointeam
Posted: 2017 Feb 13 20:38
by garbiz
Sveiki, gal žinot kaip užblokuot komandas "jointeam 1" ir "jointeam 2" kai parašius į consolę perkelia į ct arbą į t. Kaip padaryt kad šios komandos būtų neveiklios? ir neitų jų naudot ? Dėkui už pagalbą

Re: Pagalbos dėl jointeam
Posted: 2017 Feb 14 01:07
by KaimyneliS
garbiz wrote:Sveiki, gal žinot kaip užblokuot komandas "jointeam 1" ir "jointeam 2" kai parašius į consolę perkelia į ct arbą į t. Kaip padaryt kad šios komandos būtų neveiklios? ir neitų jų naudot ? Dėkui už pagalbą

Code: Select all
#include <amxmodx>#include <cstrike> public plugin_init(){ register_plugin("Block Join Team", "1.0", "KaimyneliS");}public client_command(client){ static const szJoinCommand[] = "Jointeam"; static szCommand[10]; read_argv(0, szCommand, 9); if(equal(szCommand, szJoinCommand) && CS_TEAM_T <= cs_get_user_team(client) <= CS_TEAM_CT) { console_print( client, "You cannot use jointeam while on a team!"); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE}
Jei gerai supratau tau sito reike

Re: Pagalbos dėl jointeam
Posted: 2017 Feb 14 10:01
by Terror
register_plugin("Block Join Team", "1.0", "KaimyneliS");
http://www.amxmodx.lt/viewtopic.php?f=16&t=4895
Re: Pagalbos dėl jointeam
Posted: 2017 Feb 14 11:29
by DYaGesS