- 0
Sign in to follow this
Followers
0
error 035: argument type mismatch (argument 2) | Помогите пожалуйста
Asked by
sjpernul02
,
Question
Лучший ответ
stock SaveYTAdmin ( playerid )
{
new query_string[512];
format(query_string, sizeof query_string, "UPDATE `users_youtuberka` SET `u_y_name` = '%s', `u_y_level` = '%d' WHERE `u_y_id` = '%d'",
p_info [playerid] [pYTName], p_info [playerid] [pYTLevel], p_info [playerid] [pYTid]);
mysql_tquery(sql_connection, query_string, false, "", "");
return 1;
}
Замени свой сток на этот
This topic is now closed to further replies.
Sign in to follow this
Followers
0
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By Nik_Rofid
if(IsPlayerInRangeOfPoint(playerid, 5.0, -433.155, 782.72, 12.5547)) Dialog(playerid, DIALOG_WSP_ELOMS, DIALOG_STYLE_MSGBOX, "{ffffff}Разработчик","{ffffff}Взломаем сервер?","Да", "Нет");
}
else //Еррор здесь
{
SCM(playerid, 0xCECECEFF, "2331");
}
Проблема: Здравсвуйте, При компиляции вылезла 1 ошибка C:\Users\User\Desktop\Мод 7.1 с гс чат\gamemodes\new.pwn(20655) : error 010: invalid function or declaration
Буду рад если поможете!
-
Posted (edited) · Report post
Скрин - https://imgur.com/a/rrTN1ei
Ошибки
new.pwn(127130) : error 035: argument type mismatch (argument 2)
gamemodes\new.pwn(127131) : error 035: argument type mismatch (argument 2)
gamemodes\new.pwn(127132) : error 035: argument type mismatch (argument 2)
gamemodes\new.pwn(127133) : error 035: argument type mismatch (argument 3)
Жалуется на 4 строки
stock SaveYTAdmin ( playerid )
{
new query_string[256] = "UPDATE `users_youtuberka` SET";
format ("%s u_y_name = %s,", query_string, p_info [playerid] [pYTName]);
format ("%s u_y_level = %d", query_string, p_info [playerid] [pYTLevel]);
format ("%s WHERE u_y_id = d", query_string, p_info [playerid] [pYTid]);
mysql_tquery (sql_connection, query_string, false, "", "");
return 1;
}
Edited by sjpernul02
Share this post
Link to post