RSSy MYGO.pl Opublikowano Lipiec 7, 2020 o 08:38 RSSy Udostępnij Opublikowano Lipiec 7, 2020 o 08:38 heloo PHP Code: ColorChat(0, TEAM_COLOR,"%s : ^4/t1",name) this is part of codes of slash commands plugin PHP Code: new name[32]get_user_info(id, "name", name, 31) if(get_user_team(id,name) == 1) ColorChat(0, RED,"%s : ^4/spec",name) else if(get_user_team(id,name) == 2) ColorChat(0, BLUE,"%s : ^4/spec",name) else ColorChat(0, GREY,"%s : ^4/spec",name) i try this, plugin compile but compiler get lose indention eror from this lines ! With this order, the name of the admin becomes the color of his team, but if the admin is in the terrorist team and another player in the counter-terrorist team, the player sees the name of the admin in the color of his team. What should I do if the admin is in the terrorist team, his name is red, if he is counter-terrorist, his name is blue and if he is in the spectators, his name should be gray? sorry for my bad english <3 Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi