pragma library
#6

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
Found an old include that uses it.
pawn Код:
/*  
 *           PointToPoint Functions
 *  © Copyright 2010, Blacklite & <__Ethan__>
 *
 */


#if defined _PointToPoint_included
    #endinput
#endif
#define _PointToPoint_included
#pragma library PointToPoint

native Float:PointToPoint2D(Float:x1,Float:y1,Float:x2,Float:y2);
native Float:PointToPoint3D(Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2);
Where "PointToPoint" was the .dll file in the plugins directory. Did you read the wiki? It's pretty straight forward
Oh, so it works exactly the same as plugin? I thought it's something different. What is the difference in writing "#pragma library PointToPoint" and not in this example? The result will be the same.
Reply


Messages In This Thread
pragma library - by zgintasz - 18.12.2012, 16:36
Re: pragma library - by ReneG - 18.12.2012, 16:59
Re: pragma library - by zgintasz - 18.12.2012, 17:02
Re: pragma library - by ReneG - 18.12.2012, 17:06
Re: pragma library - by Ballu Miaa - 18.12.2012, 17:08
Re: pragma library - by zgintasz - 18.12.2012, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)