Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple INCLUDE esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè INCLUDE en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este INCLUDE sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple INCLUDE is made especially for www.forum.sa-mp.com
- * DO NOT Post the INCLUDE in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this INCLUDE without my permission.
- */
- /*
- native ShowBarMoney(playerid);
- native HideBarMoney(playerid);
- native DestroyBarMoney(playerid);
- native CreateBarMoney(playerid, color);
- native UpdateBarMoney(playerid, money);
- */
- new PlayerText:NewBarMoneyTD[MAX_PLAYERS];
- #define ShowBarMoney(%0) PlayerTextDrawShow(%0, NewBarMoneyTD[%0])
- #define HideBarMoney(%0) PlayerTextDrawHide(%0, NewBarMoneyTD[%0])
- #define DestroyBarMoney(%0) PlayerTextDrawDestroy(%0, NewBarMoneyTD[%0])
- stock CreateBarMoney(playerid, color) {
- NewBarMoneyTD[playerid] = CreatePlayerTextDraw(playerid,607.000000, 98.000000, "_");
- PlayerTextDrawAlignment(playerid,NewBarMoneyTD[playerid], 3);
- PlayerTextDrawBackgroundColor(playerid,NewBarMoneyTD[playerid], 255);
- PlayerTextDrawFont(playerid,NewBarMoneyTD[playerid], 3);
- PlayerTextDrawLetterSize(playerid,NewBarMoneyTD[playerid], 0.560000, 2.199999);
- PlayerTextDrawColor(playerid,NewBarMoneyTD[playerid], color);
- PlayerTextDrawSetOutline(playerid,NewBarMoneyTD[playerid], 1);
- PlayerTextDrawSetShadow(playerid,NewBarMoneyTD[playerid], 1);
- PlayerTextDrawSetProportional(playerid,NewBarMoneyTD[playerid], 1); return true; }
- stock UpdateBarMoney(playerid, money) {
- if(GetPlayerMoney(playerid)<0) return false;
- new data[50]; format(data,sizeof(data),"$%08d",money);
- PlayerTextDrawSetString(playerid,NewBarMoneyTD[playerid],data); return true; }
- /*
- #include <a_samp>
- #include <zcmd>
- #include <BarMoney>
- #define CALLBACK:%0(%1) forward%0(%1); public%0(%1)
- #define COLOR_NEW 0xFF00DAFF
- CALLBACK: OnFilterScriptInit() {
- print("\n**************************************");
- print(" Easy - New Bar Money (Secondary) ");
- print(" Date: 26/09/2013 ");
- print(" Author: OTACON ");
- print(" --* Downloaded with Success!!. *-- ");
- print("***************************************\n");
- SendRconCommand("hostname Easy - New Bar Money (Secondary) ");
- SendRconCommand("gamemodetext By OTACON");
- return true;
- }
- CALLBACK: OnFilterScriptExit() {
- print("\n**************************************");
- print(" Easy - New Bar Money (Secondary) ");
- print(" Date: 26/09/2013 ");
- print(" Author: OTACON ");
- print(" --* Loaded with Success!!. *-- ");
- print("***************************************\n");
- SendRconCommand("hostname Easy - New Bar Money (Secondary) ");
- SendRconCommand("gamemodetext By OTACON");
- return true;
- }
- CALLBACK: OnPlayerConnect(playerid) {
- CreateBarMoney(playerid, COLOR_NEW);
- return true;
- }
- CALLBACK: OnPlayerDisconnect(playerid, reason) {
- HideBarMoney(playerid);
- DestroyBarMoney(playerid);
- return true;
- }
- CALLBACK: OnPlayerSpawn(playerid) {
- ShowBarMoney(playerid);
- return true;
- }
- CALLBACK: OnPlayerUpdate(playerid) {
- UpdateBarMoney(playerid, GetPlayerMoney(playerid));
- return true;
- }
- COMMAND:test1(playerid, params[]) {
- GivePlayerMoney(playerid, (0+1000));
- return true;
- }
- COMMAND:test2(playerid, params[]) {
- GivePlayerMoney(playerid, (0-1000));
- return true;
- }
- */
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple INCLUDE esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè INCLUDE en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este INCLUDE sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple INCLUDE is made especially for www.forum.sa-mp.com
- * DO NOT Post the INCLUDE in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this INCLUDE without my permission.
- */
Add Comment
Please, Sign In to add comment