RSSy MYGO.pl Opublikowano Grudzień 23, 2019 o 04:40 RSSy Udostępnij Opublikowano Grudzień 23, 2019 o 04:40 I made a sample amxx ,but it doesn't work well .When clients connected ,it makes clients change their name many times,cyclically! But I just want them to change one time .[.sma] .. public client_infochanged( id ) { if( is_user_admin(id) ) { format( newname, charsmax( newname ), "%s %s", tag1, oldname ); set_user_info( id, "name", newname );return PLUGIN_HANDLED; } else { format( newname, charsmax( newname ), "%s %s", tag2, oldname ); set_user_info( id, "name", newname ) ;return PLUGIN_HANDLED; }return PLUGIN_HANDLED; } .. Is the code "return PLUGIN_HANDLED" has some thing worng? Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi