- 0
Войдите для возможности подписаться
Подписчики
0
Вопросы
Лучший ответ
@skyfamily Закиньте в папку с сервером libmysql.dll
Эта тема закрыта для публикации ответов.
Войдите для возможности подписаться
Подписчики
0
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
-
Похожий контент
-
От bogdan@gmail
Здраствуйте, я начинающий скриптер! Не работает покупка и не показывает количество каинов.
Сама команда.
CMD:acoins(playerid) { if(PlayerInfo[playerid][pAlcoInvenxua] < 1) return true; format(stringer1, sizeof(stringer1), "{ffffff}Админ-магазин | {FFD700}%d а-монет", PlayerInfo[playerid][pAcoins]); ShowPlayerDialog(playerid, 7445, DIALOG_STYLE_LIST, stringer1, "\ {FF0000}1. Снять выговор\t\t{9994EB}350 А-монет\ \n2. Админский infernus (/acar)\t{9994EB} 560 А-монет\ \n{FFD700}Информация", "Выбрать", "Назад"); return true; } Кейсы
case 7445: { if(!response) return true; switch(listitem) { case 0: {//unavig if(PlayerInfo[playerid][pVigs] < 1) return SendClientMessage(playerid, COLOR_WHITE, "У вас нету выговоров!"); if(PlayerInfo[playerid][pAcoins] < 350) return SendClientMessage(playerid, COLOR_GREY, "У Вас недостаточно админ монет!"); new query[100]; PlayerInfo[playerid][pVigs]--; PlayerInfo[playerid][pAcoins] -= 350; UpdatePlayerData(playerid, "pAcoins", PlayerInfo[playerid][pAcoins]); format(query, sizeof(query), "UPDATE `"TABLE_ACCOUNT"` SET `vigs` = '%d' WHERE `pID` = '%d'",PlayerInfo[playerid][pVigs],PlayerInfo[playerid][pID]); mysql_function_query(connects, query, false, "", ""); SendClientMessage(playerid, COLOR_WHITE, "Вы успешно сняли выговор!"); } case 1: {//acar if(PlayerInfo[playerid][pAcoins] < 560) return SendClientMessage(playerid, COLOR_GREY, "У Вас недостаточно админ монет!"); new string[144]; format(string, sizeof(string), "Вы действительно хотите купить команду /acar?\n- Вы получите возможность:\n%s", CMD_desc[4]); ShowPlayerDialog(playerid, 7491, DIALOG_STYLE_MSGBOX, "Покупка команды /acar", string, "Купить", "Отмена"); } } return true; } case 7498: { if(!response) return true; new query[200]; PlayerInfo[playerid][pAcoins] -= 350; UpdatePlayerData(playerid, "pAcoins", PlayerInfo[playerid][pRub]); mysql_format(connects, query, sizeof query, "SELECT * FROM `accounts` WHERE `Name` = '%e'", PlayerInfo[playerid][pNames]); mysql_function_query(connects, query, true, "BuyCmdCallback", "dd", playerid, 4); return true; } фото mysql
-
-
-
Опубликовано · Жалоба
Приветсвую, сделал сервер, но, запуск всегда не удачно, помогите пожалуйста
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[12:15:09]
[12:15:09] Server Plugins
[12:15:09] --------------
[12:15:09] Loading plugin: crashdetect
[12:15:09] CrashDetect plugin 4.19.4
[12:15:09] Loaded.
[12:15:09] Loading plugin: dc_cmd
[12:15:09] Daniel's CMD plugin v2.8
[12:15:09] (c) 2014 Daniel_Cortez
[12:15:09] www.pro-pawn.ru
[12:15:09] Loaded.
[12:15:09] Loading plugin: mysql
[12:15:10] Failed.
[12:15:10] Loading plugin: mysql_static
[12:15:10] Failed.
[12:15:10] Loading plugin: md5
[12:15:10] MD5 v1.2 by BJIADOKC loaded
[12:15:10] Loaded.
[12:15:10] Loading plugin: regex
[12:15:10]
[12:15:10] ______________________________________
[12:15:10] Regular Expression Plugin v0.2.1 loaded
[12:15:10] ______________________________________
[12:15:10] By: Fro (c) Copyright <TBG> 2009-2011
[12:15:10] ______________________________________
[12:15:10] Loaded.
[12:15:10] Loading plugin: sscanf
[12:15:10]
[12:15:10] ===============================
[12:15:10] sscanf plugin loaded.
[12:15:10] Version: 2.8.2
[12:15:10] (c) 2012 Alex "Y_Less" Cole
[12:15:10] ===============================
[12:15:10] Loaded.
[12:15:10] Loading plugin: streamer
[12:15:10]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[12:15:10] Loaded.
[12:15:10] Loading plugin: YSF
[12:15:10]
[12:15:10] ===============================
[12:15:10] YSF - kurta999's version R18 loaded
[12:15:10] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999
[12:15:10] Server version: 0.3.7 R2-1
[12:15:10] Operating System: Windows
[12:15:10] Built on: Dec 15 2016 at 12:18:54
[12:15:10] ===============================
[12:15:10] Loaded.
[12:15:10] Loading plugin: pawnraknet
[12:15:10] Failed.
[12:15:10] Loading plugin: pawnbots
[12:15:10] Failed.
[12:15:10] Loading plugin: TOTP
[12:15:10] TOTP plugin v1.0.1 by Games loaded.
[12:15:10] Loaded.
[12:15:10] Loaded 8 plugins.
[12:15:10]
[12:15:10] Filterscripts
[12:15:10] ---------------
[12:15:10] Loaded 0 filterscripts.
[12:15:10] [debug] Run time error 19: "File or function is not found"
[12:15:10] [debug] cache_get_data
[12:15:10] [debug] cache_get_field_content
[12:15:10] [debug] cache_get_field_content_int
[12:15:10] [debug] mysql_tquery
[12:15:10] [debug] mysql_format
[12:15:10] [debug] cache_get_field_content_float
[12:15:10] [debug] mysql_escape_string
[12:15:10] [debug] mysql_log
[12:15:10] [debug] mysql_connect
[12:15:10] [debug] mysql_errno
[12:15:10] [debug] mysql_query
[12:15:10] [debug] mysql_set_charset
[12:15:10] [debug] mysql_reconnect
[12:15:10] [debug] mysql_stat
[12:15:10] [debug] cache_get_row_count
[12:15:10] [debug] cache_get_row_int
[12:15:10] [debug] cache_delete
[12:15:10] [debug] Run time error 19: "File or function is not found"
[12:15:10] [debug] cache_get_data
[12:15:10] [debug] cache_get_field_content
[12:15:10] [debug] cache_get_field_content_int
[12:15:10] [debug] mysql_tquery
[12:15:10] [debug] mysql_format
[12:15:10] [debug] cache_get_field_content_float
[12:15:10] [debug] mysql_escape_string
[12:15:10] [debug] mysql_log
[12:15:10] [debug] mysql_connect
[12:15:10] [debug] mysql_errno
[12:15:10] [debug] mysql_query
[12:15:10] [debug] mysql_set_charset
[12:15:10] [debug] mysql_reconnect
[12:15:10] [debug] mysql_stat
[12:15:10] [debug] cache_get_row_count
[12:15:10] [debug] cache_get_row_int
[12:15:10] [debug] cache_delete
[12:15:10] Script[gamemodes/boston.amx]: Run time error 19: "File or function is not found"
[12:15:10] Number of vehicle models: 0
Вот так вот
Поделиться сообщением
Ссылка на сообщение
Поделиться на другие сайты