OtaconEvil

[INC] Pre-Cargar Animaciones v2 By OTACON

Nov 2nd, 2013
351
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.     *
  4.     * Estè Simple INCLUDE esta hecho especialmente para www.forum.sa-mp.com
  5.     * NO Publicar estè INCLUDE en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  6.     *
  7.     * Codigo Creado Por OTACON
  8.     *
  9.     * CREDITOS:
  10.     *     OTACON: Realizacion y Idea de creacion del code.
  11.     *     TÙ: Modificacion libremente respetando lo mencionado ;).
  12.     *
  13.     *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  14.     *
  15.     *            Prohibido TOTALMENTE el Robo de Créditos o la
  16.     *              Publicación de este INCLUDE sin Mi Permiso.
  17. */
  18. /*
  19.     * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  20.     *
  21.     * This simple INCLUDE is made especially for www.forum.sa-mp.com
  22.     * DO NOT Post the INCLUDE in Other SAMP forums and impersonating the creator of the CODE.
  23.     *
  24.     * Code Created By OTACON
  25.     *
  26.     * CREDITS:
  27.     *     OTACON: Idea Making and code creation.
  28.     *     YOUR: Modification freely respecting the above ;).
  29.     *
  30.     *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  31.     *
  32.     *                    FULLY spaces Theft Credit or
  33.     *             Publication of this INCLUDE without my permission.
  34. */
  35. new PreLoadApplyAnimation[][32] = {
  36. "AIRPORT", "Attractors", "BAR", "BASEBALL", "BD_FIRE", "BEACH", "benchpress", "BF_injection",
  37. "BIKED", "BIKEH", "BIKELEAP", "BIKES", "BIKEV", "BIKE_DBZ", "BLOWJOBZ", "BMX", "BOMBER", "BOX",
  38. "BSKTBALL", "BUDDY", "BUS", "CAMERA", "CAR", "CARRY", "CAR_CHAT", "CASINO", "CHAINSAW", "CHOPPA",
  39. "CLOTHES", "COACH", "COLT45", "COP_AMBIENT", "COP_DVBYZ", "CRACK", "CRIB", "DAM_JUMP", "DANCING",
  40. "DEALER", "DILDO", "DODGE", "DOZER", "DRIVEBYS", "FAT", "FIGHT_B", "FIGHT_C", "FIGHT_D", "FIGHT_E",
  41. "FINALE", "FINALE2", "FLAME", "Flowers", "FOOD", "Freeweights", "GANGS", "GHANDS", "GHETTO_DB",
  42. "goggles", "GRAFFITI", "GRAVEYARD", "GRENADE", "GYMNASIUM", "HAIRCUTS", "HEIST9", "INT_HOUSE",
  43. "INT_OFFICE", "INT_SHOP", "JST_BUISNESS", "KART", "KISSING", "/KNIFE", "LAPDAN1", "LAPDAN2",
  44. "LAPDAN3", "LOWRIDER", "MD_CHASE", "MD_END", "MEDIC", "MISC", "MTB", "MUSCULAR", "NEVADA", "ON_LOOKERS",
  45. "OTB", "PARACHUTE", "PARK", "PAULNMAC", "PED", "PLAYER_DVBYS", "PLAYIDLES", "POLICE", "POOL", "POOR",
  46. "PYTHON", "QUAD", "QUAD_DBZ", "RAPPING", "RIFLE", "RIOT", "ROB_BANK", "ROCKET", "RUSTLER", "RYDER",
  47. "SCRATCHING", "SHAMAL", "SHOP", "SHOTGUN", "SILENCED", "SKATE", "SMOKING", "SNIPER", "SPRAYCAN", "STRIP", "SUNBATHE",
  48. "SWAT", "SWEET", "SWIM", "SWORD", "TANK", "TATTOOS", "TEC", "TRAIN", "TRUCK", "UZI", "VAN", "VENDING", "VORTEX",
  49. "WAYFARER", "WEAPONS", "WUZI" };
  50. public OnPlayerSpawn(playerid) {
  51.     for(new animation, apply = sizeof(PreLoadApplyAnimation); animation != apply; animation++) {
  52.         ApplyAnimation(playerid,PreLoadApplyAnimation[animation],"null",0.0,0,0,0,0,0,0); }
  53.         //printf("libreria cargada: %s | Para el Jugador ID:%i", PreLoadApplyAnimation[animation],playerid);
  54.     #if defined LOAD_OnPlayerSpawn
  55.         return LOAD_OnPlayerSpawn(playerid);
  56.     #else
  57.         return true;
  58.     #endif
  59. }
  60. #if defined LOAD_OnPlayerSpawn
  61.     forward LOAD_OnPlayerSpawn(playerid);
  62. #endif
  63. #if defined _ALS_OnPlayerSpawn
  64.     #undef OnPlayerSpawn
  65. #else
  66.     #define _ALS_OnPlayerSpawn
  67. #endif
  68. #define OnPlayerSpawn LOAD_OnPlayerSpawn
  69. /*
  70.     * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  71.     *
  72.     * Estè Simple INCLUDE esta hecho especialmente para www.forum.sa-mp.com
  73.     * NO Publicar estè INCLUDE en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  74.     *
  75.     * Codigo Creado Por OTACON
  76.     *
  77.     * CREDITOS:
  78.     *     OTACON: Realizacion y Idea de creacion del code.
  79.     *     TÙ: Modificacion libremente respetando lo mencionado ;).
  80.     *
  81.     *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  82.     *
  83.     *            Prohibido TOTALMENTE el Robo de Créditos o la
  84.     *              Publicación de este INCLUDE sin Mi Permiso.
  85. */
  86. /*
  87.     * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  88.     *
  89.     * This simple INCLUDE is made especially for www.forum.sa-mp.com
  90.     * DO NOT Post the INCLUDE in Other SAMP forums and impersonating the creator of the CODE.
  91.     *
  92.     * Code Created By OTACON
  93.     *
  94.     * CREDITS:
  95.     *     OTACON: Idea Making and code creation.
  96.     *     YOUR: Modification freely respecting the above ;).
  97.     *
  98.     *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  99.     *
  100.     *                    FULLY spaces Theft Credit or
  101.     *             Publication of this INCLUDE without my permission.
  102. */
RAW Paste Data