PDA

Просмотр полной версии : [Вопрос] Error



gangzone.ini
23.08.2014, 12:23
Делаю EMAIL активацию, выбивает ошибку:

J:\RolePlay\gamemodes\new.pwn(12002) : error 017: undefined symbol "regex_match"
Строка:

12002: if(!IsValidEmail(inputtext))
Ну а хотя есть:

#define IsValidEmail(%1) \
regex_match(%1, "|([a-z0-9_\\.\\-]{1,20})@([a-z0-9\\.\\-]{1,20})\\.([a-z]{2,4})|is")

- - - Добавлено - - -

Проблему решила, забыла про include

#include <regex>

gangzone.ini
23.08.2014, 13:08
Появилась проблема с запуском мода...

[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" подключить