Undefined symbol, wtf - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Undefined symbol, wtf (
/showthread.php?tid=427324)
Undefined symbol, wtf -
Arpatos - 01.04.2013
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 !
Re: Undefined symbol, wtf -
MattyG - 01.04.2013
I can't even see an X on that line, are you sure that's the right line?
Re : Undefined symbol, wtf -
Arpatos - 01.04.2013
That's the problem ! That's why i said wtf, there is no X ^^
Re: Undefined symbol, wtf -
Vince - 01.04.2013
Where do you define
NEWS_SMS_COST?
Re : Undefined symbol, wtf -
Arpatos - 01.04.2013
Thanks a lot !