Sign in to follow this
Followers
0
3 posts in this topic

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 Pavel123
Помогите, я новичок, и не могу решить проблему с запуском сервера. Посмотрел консоль, и ничего не понял, в интернете тоже ничего не понятно, помогите!
SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [10:38:21] filterscripts = "" (string) [10:38:21] [10:38:21] Server Plugins [10:38:21] -------------- [10:38:21] Loaded 0 plugins. [10:38:21] [10:38:21] Filterscripts [10:38:21] --------------- [10:38:21] Loaded 0 filterscripts. [10:38:21] Init simple gamemode Criminal Russia [10:38:21] Stunt Vehicles: 113 [10:38:21] Number of vehicle models: 15 [10:38:21] [connection] 195.18.27.241:49384 requests connection cookie. [10:38:22] [connection] incoming connection: 195.18.27.241:49384 id: 0 [10:39:03] [connection] 46.148.178.70:59869 requests connection cookie. [10:39:04] [connection] incoming connection: 46.148.178.70:59869 id: 0 [10:39:14] [connection] incoming connection: 46.148.178.70:60035 id: 0 -
By Разриб
1) вылазят варнинги
Код:
new query_string[800];
format(query_string, sizeof query_string, "SELECT * FROM `accs` WHERE `nick` = `%s`", GetPlayerName(playerid));
Варнинг:
warning 202: number of arguments does not match definition и ещё один такой же на одну и ту же строку
2) команда делаю ошибку в написании допустим не P_LVL, а P_LV, то при компиляции не пишет ошибки!
Код:
#define GetPlayerData(%0,%1) g_player[%0][%1]
#define SetPlayerData(%0,%1,%2) g_player[%0][%1] = %2
#define AddPlayerData(%0,%1,%2,%3) g_player[%0][%1] %2= %3
enum E_PLAYER_STRUCT
{
P_ACCID,
P_NICK,
P_LVL,
P_PASS,
P_SKIN,
P_EMAIL,
P_MONEY,
P_LOGIN,
P_ADM,
P_POL,
P_DONATE,
P_PRAVA,
P_NUMBER
}
new g_player[MAX_PLAYERS][E_PLAYER_STRUCT];
-