SA-MP Forums Archive
timestamptodate.inc Error - 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: timestamptodate.inc Error (/showthread.php?tid=645365)



timestamptodate.inc Error - OPTILEX - 25.11.2017

i'm getting this error while compiling.
i'm new to pawn so kindly guide me how to fix this

https://imgur.com/a/mg1q1


Re: timestamptodate.inc Error - RedFusion - 25.11.2017

Do you have the file TimeStampToDate.inc in your server\pawno\include folder?


Re: timestamptodate.inc Error - OPTILEX - 25.11.2017

Yes!


Re: timestamptodate.inc Error - RedFusion - 25.11.2017

Are you sure the file extension is .inc ? Double check that please. Also, try #include <timestamptodate.inc.txt>


Re: timestamptodate.inc Error - Lucases - 25.11.2017

Post your #include lines


Re: timestamptodate.inc Error - OPTILEX - 26.11.2017

Here

Код:
//----------------
// Includes
//----------------

#include <a_samp>
#include <sscanf2>
#include <zcmd>
#include <YSI\y_ini>
#include <TimeStampToDate>
//#include <crashdetect>
#include <mSelection>



Re: timestamptodate.inc Error - grymtn - 26.11.2017

Change your TimeStampToDate's include name to timestamptodate in your pawno's includes folder and change your #include <TimeStampToDate> to #include <timestamptodate>. so just rename file and change your include to that name you can change its name too. This will also provide you a check on your include file


Re: timestamptodate.inc Error - OPTILEX - 26.11.2017

Thanks grymtn it worked ! Thanks alot <3