Szerző Téma: Include  (Megtekintve 504 alkalommal)

Include
« Dátum: 2012. Április 29. - 08:52:19 »
0 Show voters
Helló!
Hogyan tudnék include-t csinálni az adminrendszeremhez?
Nézegettem az ladminét, de nem értem ezt a részt benne:
 
#if defined _ladmin_included
  #endinput
#endif
#define _ladmin_included
#pragma library ladmin

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Include
« Válasz #1 Dátum: 2012. Április 29. - 08:57:45 »
+1 Show voters
Nyitsz egy szöveges dokumentumot, bele írod amit akarsz, és a kiterjesztését átírod .inc-re, és kész. :)

Include
« Válasz #2 Dátum: 2012. Április 29. - 09:09:36 »
+1 Show voters
Idézetet írta: TheMesziErik date=1335682339\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20754\" data-ipsquote-contentclass=\"forums_Topic
Helló!
Hogyan tudnék include-t csinálni az adminrendszeremhez?
Nézegettem az ladminét, de nem értem ezt a részt benne:
 
#if defined _ladmin_included
  #endinput
#endif
#define _ladmin_included
#pragma library ladmin

 

Ez annyit csinál, hogy ha már egyszer be van töltve, akkor nem tölti be még1x feleslegesen...
Tehét ilyet nem csinálhatsz
 

#include <a_samp>
#include <ladmin>
#include <ladmin>

Include
« Válasz #3 Dátum: 2012. Április 29. - 09:16:35 »
0 Show voters
Köszönöm a segítséget!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal