Undefined symbol, wtf
#1

Hey guys,

2 days ago, i've change my setplayerspawn but it had some bugs so i paste the older script and compiled.
All was working before.

What i haven't understood is the fact that the undefined symbol not in the setplayerspawn is, and not at the line error.

Code of the error line:

Quote:

if(phonenumb == NEWS_NUMBER)
{
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "[Sms - Journalistes] %s, Auteur: %s (%d)", result, playername, PlayerInfo[playerid][pPnumber]);
fact_sendMsg(FACT_NEWS,string,COLOR_TEL);
Here=> format(string,sizeof(string),"[Sms] Message envoyй aux journalistes (%d$)",NEWS_SMS_COST);
SendClientMessage(playerid, COLOR_TEL, string);
PlayerInfo[playerid][pAccount]-=NEWS_SMS_COST;
Journaliste[banque] += NEWS_SMS_COST;
journaliste_save();
return 1;
}

Quote:

(1972 error 017: undefined symbol "X"

Can somebody help me please to define that symbol ?
thanks a lot !
Reply
#2

I can't even see an X on that line, are you sure that's the right line?
Reply
#3

That's the problem ! That's why i said wtf, there is no X ^^
Reply
#4

Where do you define NEWS_SMS_COST?
Reply
#5

Thanks a lot !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)