- 0
Sign in to follow this
Followers
0

error 017: undefined symbol
Asked by
fulword
,
Question
Лучший ответ
@fulword к дефайнам:
#define COLOR_GREY 0xFF808080 #define CGREY 0xFF808080
#define COLOR_GREY 0xFF808080 #define CGREY 0xFF808080

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 Ruman
Приветствую! У меня вопрос, связанный с загрузкой игрового аккаунта, просто я делаю регистрацию свою по уроку но в этом уроке функции MySQL из версии R39. Естественно при нажатии F5 выдаёт это:
D:\Users\Ruman\Desktop\Time RP\gamemodes\project.pwn(1373) : error 017: undefined symbol "cache_get_field_content_int" D:\Users\Ruman\Desktop\Time RP\gamemodes\project.pwn(1374) : error 017: undefined symbol "cache_get_field_content_int" Код:
forward LoadAcc(playerid); public LoadAcc(playerid) { player_info[playerid][ID] = cache_get_field_content_int(0, "id", dbHandle); player_info[playerid][LEVEL] = cache_get_field_content_int(0, "level", dbHandle); } Просто мне нужна другая версия данной функции под R40.
Спасибо тем, что всегда рад помочь!
P.S Просто с MySQL я вообще в целом не знаком, поэтому так много вопросов.
-
Posted · Report post
C:\Users\Desktop\gamemodes\new.pwn(11215) : error 017: undefined symbol "COLOR_GRAY"
C:\Users\Desktop\gamemodes\new.pwn(11226) : error 017: undefined symbol "COLOR_GRAY"
C:\Users\Desktop\gamemodes\new.pwn(11230) : error 017: undefined symbol "CGRAY"
case D_RENTROOM:
{
if(response)
{
if(PI[playerid][pCash] >= 500 && PI[playerid][pLevel] != 0 && PI[playerid][pHotelKey] == -1)
{
new id = GetPVarInt(playerid, "ROOMTORENT");
PI[playerid][pHotelKey] = id;
MotelInfo[id][mOwned] = 1;
SetPlayerPos(playerid, 2350.339843, -1181.649902, 1027.976562);
SetPlayerInterior(playerid, 5);
SetPlayerVirtualWorld(playerid, id + 10);
GiveMoney(playerid, -500);
SCM(playerid, COLOR_YELLOW, "Âû óñïåøíî ñíÿëè êîìíàòó.");
SCM(playerid, COLOR_GRAY, "Äëÿ ñäà÷è êëþ÷åé - íàæìèòå {FF0000}'N'{FFFFFF} â íîìåðå.");
}
else if(PI[playerid][pLevel] == 1 && PI[playerid][pHotelKey] == -1)
{
new id = GetPVarInt(playerid, "ROOMTORENT");
PI[playerid][pHotelKey] = id;
MotelInfo[id][mOwned] = 1;
SetPlayerPos(playerid, 2350.339843, -1181.649902, 1027.976562);
SetPlayerInterior(playerid, 5);
SetPlayerVirtualWorld(playerid, id + 10);
SCM(playerid, COLOR_YELLOW, "Âû óñïåøíî ñíÿëè êîìíàòó.");
SCM(playerid, COLOR_GRAY, "Äëÿ ñäà÷è êëþ÷åé - íàæìèòå {FF0000}'N'{FFFFFF} â íîìåðå.");
}
else if(PI[playerid][pHotelKey] != -1)
{
SCM(playerid, CGRAY, "[!] Âû óæå ñíèìàåòå êîìíàòó. Äëÿ ñäà÷è êëþ÷åé - íàæìèòå {FF0000}'N'{FFFFFF} â íîìåðå.");
return true;
}
}
}
скрин
Заметка от DEST , создано
Неинформативное название темы.
Share this post
Link to post