- 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 MetaLife Online
Привествую! писал код. проверил работу, в БД отправилось информация криво
потом добавил к P_NICK[MAX_PLAYER_NAME] для того чтобы все было окей. Но после этого данные вообще не отпровляються и не показываеться %s. пару раз удалял и не помогло не чего
enum PLAYER_INFO { P_ID, P_NICK[MAX_PLAYER_NAME], P_PASS, P_GENDER, P_SKIN, P_LVL, };
-
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