-
Error
Делаю EMAIL активацию, выбивает ошибку:
PHP код:
J:\RolePlay\gamemodes\new.pwn(12002) : error 017: undefined symbol "regex_match"
Строка:
PHP код:
12002: if(!IsValidEmail(inputtext))
Ну а хотя есть:
PHP код:
#define IsValidEmail(%1) \
regex_match(%1, "|([a-z0-9_\\.\\-]{1,20})@([a-z0-9\\.\\-]{1,20})\\.([a-z]{2,4})|is")
- - - Добавлено - - -
Проблему решила, забыла про include
PHP код:
#include <regex>
-
Появилась проблема с запуском мода...
PHP код:
[11:31:43] [debug] Run time error 19: "File or function is not found"
[11:31:43] [debug] regex_match
[11:31:43] [debug] Run time error 19: "File or function is not found"
[11:31:43] [debug] regex_match
[11:31:43] Script[gamemodes/4.amx]: Run time error 19: "File or function is not found"
[11:31:43] Number of vehicle models: 0
- - - Добавлено - - -
Закрывайте, забыла плагин "regex" подключить