Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
public FnOnAchivesComplete(id, Key, RusName[], Avatar[])
{
new Name[MAX_NAME_LENGTH];
get_user_name(id, Name, charsmax(Name));
client_cmd(0, "play %s", gSoundNewLevel);
//это сообщение показывает всем
client_print_color(0, 0, "^1Игрок ^4%s ^1открыл достижение ^4%s", Name, RusName);
if(get_pcvar_num(cpRegPlayerOnly))
if(!regUserId[id])
client_print_color(id, 0, "^4Достижения не сохраняются! ^1Для сохранения, зарегистрируйся на ^4%s", SiteUrl);
client_print_color(id, 0, "^1Для просмотра достижений пиши ^4/achievs");
}
modules_extra\cms_achievs\templates\index.tplin MOTD to show progress for each achievements ? like in profile ?
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/modules_extra/.*$
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
return 301 https://$host:443$request_uri;
=>
if ($host ~* ^(modules_extra)$) {
return 301 https://$host:443$request_uri;
}

AddDefaultCharset utf-8
RewriteBase /
Options All
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
# Исключаем modules_extra от редиректа на HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/modules_extra/.*$
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Редирект с www на без www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]
# Основные правила для движка
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^ index.php [L]