-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
DMV
in Ajutor Scripting
Posted
Salut, am o problema am facut un system de dmv dynamic si primesc eroarea : =========================================
Error ID: 1064, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FORUM `server_exam_checkpoints' at line 1
Callback: loadExamCheckpoints
gQuery: SELECT * FORUM `server_exam_checkpoints
=========================================
cod:
function loadExamCheckpoints()
{
if(!cache_num_rows())
return print("Exam checkpoints: 0");
for(new i = 1; i < cache_num_rows() +1; i++)
{
Iter_Add(ExamenCheckpoints, i);
examenInfo[i][dmvID] = cache_get_field_content_int(i - 1, "ID");
examenInfo[i][dmvX] = cache_get_field_content_float(i - 1, "X");
examenInfo[i][dmvY] = cache_get_field_content_float(i - 1, "Y");
examenInfo[i][dmvZ] = cache_get_field_content_float(i - 1, "Z");
}
return printf("Exam Checkpoint: %d", Iter_Count(ExamenCheckpoints));
}
baza de date: https://prnt.sc/usgd7c
si inca o intrebare, dupa ce dau restart checkpoint-urile raman in baza de date dar nu le ia in considerare ( spune ca nu exista acele cp uri..)