Advertisement
OtaconEvil

[FUNCION] RemoveAllBuildingForPlayer By OTACON

Oct 15th, 2013
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.58 KB | None | 0 0
  1.     /*
  2.         * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.         *
  4.         * Estè Simple FUNCION esta hecho especialmente para www.forum.sa-mp.com
  5.         * NO Publicar estè FUNCION 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 FUNCION sin Mi Permiso.
  17.     */
  18.  
  19.     /*
  20.         * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  21.         *
  22.         * This simple FUNCTION is made especially for www.forum.sa-mp.com
  23.         * DO NOT Post the FUNCTION in Other SAMP forums and impersonating the creator of the CODE.
  24.         *
  25.         * Code Created By OTACON
  26.         *
  27.         * CREDITS:
  28.         *     OTACON: Idea Making and code creation.
  29.         *     YOUR: Modification freely respecting the above ;).
  30.         *
  31.         *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  32.         *
  33.         *                    FULLY spaces Theft Credit or
  34.         *             Publication of this MAP without my permission.
  35.     */
  36. [CENTER][B][COLOR="DarkOrange"][SIZE="6"][] RemoveAllBuildingForPlayer[/SIZE][/COLOR][/B][/CENTER]
  37.  
  38. [COLOR="DarkOrchid"][B][SIZE="4"][] Informacio:[/SIZE][/B][/COLOR]
  39. [B][COLOR="DarkOrange"]* sirve para elininar objetos globales para el jugador, mas facil.[/COLOR][/B]
  40.  
  41. [COLOR="DarkOrchid"][B][SIZE="4"][] Native:[/SIZE][/B][/COLOR]
  42. [pawn]
  43. native RemoveAllBuildingForPlayer(playerid,objectid);
  44. [/pawn]
  45. [COLOR="DarkOrchid"][B][SIZE="4"][] Funcion:[/SIZE][/B][/COLOR]
  46. [pawn]
  47. #define RemoveAllBuildingForPlayer(%0,%1) RemoveBuildingForPlayer(%0,%1,0.0,0.0,0.0,100000.0)
  48. [/pawn]
  49. [COLOR="DarkOrchid"][B][SIZE="4"][] Ejemplo de Uso:[/SIZE][/B][/COLOR]
  50. [pawn]
  51. #include <a_samp>
  52. #define CALLBACK:%0(%1) forward%0(%1); public%0(%1)
  53. #define RemoveAllBuildingForPlayer(%0,%1) RemoveBuildingForPlayer(%0,%1,0.0,0.0,0.0,100000.0)
  54.  
  55. CALLBACK: OnPlayerConnect(playerid) {
  56.     RemoveAllBuildingForPlayer(playerid,1280); //se removera todos objetos ID 1280 del servidor - [url]http://gta-sa-mp.de/object/img/single/object-1280.jpg[/url]
  57.     return true;
  58. }
  59. [/pawn]
  60.  
  61. [COLOR="DarkOrchid"][B][SIZE="4"][] Creditos:[/SIZE][/B][/COLOR]
  62. [COLOR="DarkOrange"][B][SIZE="3"]OTACON[/SIZE][/B][/COLOR]
  63.     /*
  64.         * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  65.         *
  66.         * Estè Simple FUNCION esta hecho especialmente para www.forum.sa-mp.com
  67.         * NO Publicar estè FUNCION en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  68.         *
  69.         * Codigo Creado Por OTACON
  70.         *
  71.         * CREDITOS:
  72.         *     OTACON: Realizacion y Idea de creacion del code.
  73.         *     TÙ: Modificacion libremente respetando lo mencionado ;).
  74.         *
  75.         *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  76.         *
  77.         *            Prohibido TOTALMENTE el Robo de Créditos o la
  78.         *              Publicación de este FUNCION sin Mi Permiso.
  79.     */
  80.  
  81.     /*
  82.         * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  83.         *
  84.         * This simple FUNCTION is made especially for www.forum.sa-mp.com
  85.         * DO NOT Post the FUNCTION in Other SAMP forums and impersonating the creator of the CODE.
  86.         *
  87.         * Code Created By OTACON
  88.         *
  89.         * CREDITS:
  90.         *     OTACON: Idea Making and code creation.
  91.         *     YOUR: Modification freely respecting the above ;).
  92.         *
  93.         *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  94.         *
  95.         *                    FULLY spaces Theft Credit or
  96.         *             Publication of this MAP without my permission.
  97.     */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement