| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,592
» Latest member: Ephraim
» Forum threads: 2,449
» Forum posts: 12,471
Full Statistics
|
| Online Users |
There are currently 2885 online users. » 0 Member(s) | 2882 Guest(s) Bing, Google, Applebot
|
| Latest Threads |
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: GhostSpectre
Today, 02:33 AM
» Replies: 2
» Views: 146
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
Yesterday, 04:06 PM
» Replies: 0
» Views: 25
|
dhfhery
Forum: Pawn Scripting
Last Post: folvep
2026-05-07, 12:48 PM
» Replies: 0
» Views: 44
|
rhrretru
Forum: Support
Last Post: folvep
2026-05-07, 12:46 PM
» Replies: 0
» Views: 41
|
arfawrfatv
Forum: Questions and Suggestions
Last Post: folvep
2026-05-07, 12:44 PM
» Replies: 0
» Views: 38
|
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-04, 01:44 PM
» Replies: 0
» Views: 71
|
Object Remove?
Forum: Support
Last Post: Mivco
2026-04-29, 08:12 PM
» Replies: 0
» Views: 75
|
Floorp is a good webbrows...
Forum: Tech
Last Post: NoxxeR
2026-04-29, 01:01 AM
» Replies: 0
» Views: 95
|
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-04-27, 03:36 PM
» Replies: 0
» Views: 95
|
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
2026-04-27, 12:03 AM
» Replies: 41
» Views: 85,776
|
|
|
| Buying from biz crash server. |
|
Posted by: MrVegas - 2019-05-10, 11:08 PM - Forum: Support
- Replies (2)
|
 |
PHP Code: CMD:buy(playerid, params[])
{
? ?static
? ? ? ?id = -1;
? ?if ((id = House_Nearest(playerid)) != -1)
? ?{
? ? ? ?if (House_GetCount(playerid) >= MAX_OWNABLE_HOUSES)
? ? ? ? ? ?return SendErrorMessage(playerid, "You can only own %d houses at a time.", MAX_OWNABLE_HOUSES);
? ? ? ?if (HouseData[id][houseOwner] != 0)
? ? ? ? ? ?return SendErrorMessage(playerid, "This house is already owned at the moment.");
? ? ? ?if (HouseData[id][housePrice] > GetMoney(playerid))
? ? ? ? ? ?return SendErrorMessage(playerid, "You have insufficient funds for the purchase.");
? ? ? ?HouseData[id][houseOwner] = GetPlayerSQLID(playerid);
? ? ? ?House_Refresh(id);
? ? ? ?House_Save(id);
? ? ? ?GiveMoney(playerid, -HouseData[id][housePrice]);
? ? ? ?SendServerMessage(playerid, "You have purchased \"%s\" for %s!", HouseData[id][houseAddress], FormatNumber(HouseData[id][housePrice]));
? ? ? ?ShowPlayerFooter(playerid, "You have ~g~purchased~w~ a house!");
? ? ? ?Log_Write("logs/house_log.txt", "[%s] %s has purchased house ID: %d for %s.", ReturnDate(), ReturnName(playerid), id, FormatNumber(HouseData[id][housePrice]));
? ?}
? ?else if ((id = Business_Nearest(playerid)) != -1)
? ?{
? ? ? ?if (Business_GetCount(playerid) >= MAX_OWNABLE_BUSINESSES)
? ? ? ? ? ?return SendErrorMessage(playerid, "You can only own %d businesses at a time.", MAX_OWNABLE_BUSINESSES);
? ? ? ?if (BusinessData[id][bizOwner] != 0)
? ? ? ? ? ?return SendErrorMessage(playerid, "This business is already owned at the moment.");
? ? ? ?if (BusinessData[id][bizPrice] > GetMoney(playerid))
? ? ? ? ? ?return SendErrorMessage(playerid, "You have insufficient funds for the purchase.");
? ? ? ?BusinessData[id][bizOwner] = GetPlayerSQLID(playerid);
? ? ? ?Business_Refresh(id);
? ? ? ?Business_Save(id);
? ? ? ?GiveMoney(playerid, -BusinessData[id][bizPrice]);
? ? ? ?SendServerMessage(playerid, "You have purchased \"%s\" for %s!", BusinessData[id][bizName], FormatNumber(BusinessData[id][bizPrice]));
? ? ? ?ShowPlayerFooter(playerid, "You have ~g~purchased~w~ a business!");
? ? ? ?Log_Write("logs/biz_log.txt", "[%s] %s has purchased business ID: %d for %s.", ReturnDate(), ReturnName(playerid), id, FormatNumber(BusinessData[id][bizPrice]));
? ?}
? ?else if ((id = Business_Inside(playerid)) != -1)
? ?{
? ? ? ?if (BusinessData[id][bizLocked] != 0 || !BusinessData[id][bizOwner])
? ? ? ? ? ?return SendErrorMessage(playerid, "This business is closed!");
? ? ? ?if (BusinessData[id][bizType] == 5) {
? ? ? ? ? ?Business_CarMenu(playerid, id);
? ? ? ?} else {
? ? ? ? ? ?Business_PurchaseMenu(playerid, id);
? ? ? ?}
? ?}
? ?return 1;
}
PHP Code: Business_ProductMenu(playerid, bizid)
{
? ?if (bizid == -1 || !BusinessData[bizid][bizExists])
? ? ? ?return 0;
? ?static
? ? ? ?string[512];
? ?switch (BusinessData[bizid][bizType])
? ?{
? ? ? ?case 1, 6:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Mobile Phone - %s\nGPS System - %s\nSpray Paint - %s\nBackpack - %s\nWater Bottle - %s\nSoda Bottle - %s\nLottery Ticket - %s\nPortable Radio - %s\nCan of Fuel - %s\nCrowbar - %s\nBoombox - %s\nMask - %s\nFirst Aid Kit - %s\nRepair Kit - %s\nNOS Canister - %s\nBaseball Bat - %s\nFrozen Pizza - %s\nFrozen Burger - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][6]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][7]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][8]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][9]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][10]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][11]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][12]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][13]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][14]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][15]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][16]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][17])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, EditProduct, DIALOG_STYLE_LIST, "Business: Modify Item", string, "Modify", "Cancel");
? ? ? ?}
? ? ? ?case 2:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Magazine - %s\nAmmo Cartridge - %s\nArmored Vest - %s\nDesert Eagle - %s\nRemington 870 - %s\nM14 Rifle - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, EditProduct, DIALOG_STYLE_LIST, "Business: Modify Item", string, "Modify", "Cancel");
? ? ? ?}
? ? ? ?case 3:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Clothes - %s\nGlasses - %s\nHats - %s\nBandana - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, EditProduct, DIALOG_STYLE_LIST, "Business: Modify Item", string, "Modify", "Cancel");
? ? ? ?}
? ? ? ?case 4:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Water - %s\nSoda - %s\nFrench Fries - %s\nCheeseburger - %s\nChicken Burger - %s\nChicken Nuggets - %s\nSalad - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][6])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, EditProduct, DIALOG_STYLE_LIST, "Business: Modify Item", string, "Modify", "Cancel");
? ? ? ?}
? ? ? ?case 7:
? ? ? ?{
? ? ? ? ? ?string[0] = 0;
? ? ? ? ? ?for (new i = 0; i < sizeof(g_aFurnitureTypes); i ) {
? ? ? ? ? ? ? ?format(string, sizeof(string), "%s%s - %s\n", string, g_aFurnitureTypes[i], FormatNumber(BusinessData[bizid][bizPrices][i]));
? ? ? ? ? ?}
? ? ? ? ? ?Dialog_Show(playerid, EditProduct, DIALOG_STYLE_LIST, "Business: Modify Item", string, "Modify", "Cancel");
? ? ? ?}
? ?}
? ?return 1;
}
Business_PurchaseMenu(playerid, bizid)
{
? ?if (bizid == -1 || !BusinessData[bizid][bizExists])
? ? ? ?return 0;
? ?static
? ? ? ?string[512];
? ?switch (BusinessData[bizid][bizType])
? ?{
? ? ? ?case 1, 6:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Mobile Phone - %s\nGPS System - %s\nSpray Paint - %s\nBackpack - %s\nWater Bottle - %s\nSoda Bottle - %s\nLottery Ticket - %s\nPortable Radio - %s\nCan of Fuel - %s\nCrowbar - %s\nBoombox - %s\nMask - %s\nFirst Aid Kit - %s\nRepair Kit - %s\nNOS Canister - %s\nBaseball Bat - %s\nFrozen Pizza - %s\nFrozen Burger - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][6]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][7]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][8]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][9]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][10]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][11]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][12]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][13]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][14]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][15]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][16]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][17])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, BusinessBuy, DIALOG_STYLE_LIST, BusinessData[bizid][bizName], string, "Purchase", "Cancel");
? ? ? ?}
? ? ? ?case 2:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Magazine - %s\nAmmo Cartridge - %s\nArmored Vest - %s\nDesert Eagle - %s\nRemington 870 - %s\nM14 Rifle - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, BusinessBuy, DIALOG_STYLE_LIST, BusinessData[bizid][bizName], string, "Purchase", "Cancel");
? ? ? ?}
? ? ? ?case 3:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Clothes - %s\nGlasses - %s\nHats - %s\nBandana - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, BusinessBuy, DIALOG_STYLE_LIST, BusinessData[bizid][bizName], string, "Purchase", "Cancel");
? ? ? ?}
? ? ? ?case 4:
? ? ? ?{
? ? ? ? ? ?format(string, sizeof(string), "Water - %s\nSoda - %s\nFrench Fries - %s\nCheeseburger - %s\nChicken Burger - %s\nChicken Nuggets - %s\nSalad - %s",
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][0]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][1]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][2]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][3]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][4]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][5]),
? ? ? ? ? ? ? ?FormatNumber(BusinessData[bizid][bizPrices][6])
? ? ? ? ? ?);
? ? ? ? ? ?Dialog_Show(playerid, BusinessBuy, DIALOG_STYLE_LIST, BusinessData[bizid][bizName], string, "Purchase", "Cancel");
? ? ? ?}
? ? ? ?case 7:
? ? ? ?{
? ? ? ? ? ?string[0] = 0;
? ? ? ? ? ?for (new i = 0; i < sizeof(g_aFurnitureTypes); i ) {
? ? ? ? ? ? ? ?format(string, sizeof(string), "%s%s - %s\n", string, g_aFurnitureTypes[i], FormatNumber(BusinessData[bizid][bizPrices][i]));
? ? ? ? ? ?}
? ? ? ? ? ?Dialog_Show(playerid, BusinessBuy, DIALOG_STYLE_LIST, BusinessData[bizid][bizName], string, "Purchase", "Cancel");
? ? ? ?}
? ?}
? ?return 1;
} ?
|
|
|
|
| Slowness of execution |
|
Posted by: ViteSpirite - 2019-05-10, 03:41 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hi, I have a problem the first action that I posted on my server (whether local or on VPS) is long to execute whether it is a simple SendClientMessage or other.
Do you have an idea where this can come from?
PS: I updated all the include / plugin I use
|
|
|
|
| OMP - Map Editor |
|
Posted by: Salik_Davince - 2019-05-10, 06:21 AM - Forum: Questions and Suggestions
- Replies (3)
|
 |
Will you have your own Map Editor? If Yes, I would like to see a lot of new things in your Editor, the same texture replacement, the application of the attachment to the machine/player/object, I would like to see about the same as in SA:MP, from JernejL like if I'm not mistaken. (yandex translate).
|
|
|
|
| [Servidor] Condado de Los Angeles Roleplay |
|
Posted by: MACQ - 2019-05-10, 03:13 AM - Forum: Discusión GTA SA Multijugador
- No Replies
|
 |
Saludos. El servidor se?basar? en el Condado de Los Angeles, California, versi?n SAMP 0.3DL.
Presentamos con entusiasmo este proyecto de rol con la esperanza de perdurar y que sea aceptado en toda la comunidad de habla hispana.? El mismo espera ofrecer un ambiente de rol equilibrado entre seriedad y jugabilidad, una tercera opci?n, desarrollada por usuarios en SAMP desde 2009 y con especialidades en sus campos.
El nucleo del rol partir? desde los pueblos Dillimore y Blueberry donde estar?n la mayor?a de las primeras casas, negocios y trabajos, adem?s de facciones oficiales. La posibilidad de expansi?n no est? descartada, se ir?a poco a poco sin descuidar cosas b?sicas como leyes, aplicaci?n de las leyes (sheriff), servicios pre-hospitalarios (bomberos), trabajos, casas y negocios, con confianza en las libertades cedidas en lo legal y lo ilegal.
Se estima tener:
FACCIONES:
- Junta de Supervisores del Condado (Gobierno)
- Los Angeles Sheriff Department (LASD)
- Los Angeles County Fire Department (LACFD)
- Quiz?s alguna facci?n de noticias como empresa privada.
GENERAL:
- PCU, certificaci?n, etc?tera.
- Desarrollo de empresas privadas, adem?s de Repartos y Talleres.
- Desarrollo de hobbies IC como Off-Road, Caza deportiva y otros posibles.
- Econom?a lo m?s estable posible sin tantos ceros o mucha posibilidad de romperla (exceso de dinero sin m?s). El mayor equilibrio posible en la marcha.
- El mejor "estado de derecho" posible tanto IC como OOC.
- Trabajos de delincuentes o similares con el menor n?mero de restricciones para crear una vez m?s un margen de desarrrollo c?modo para el beneficio en ambas partes (victima y victimario).
- Permiso de armas como derecho Nacional expuesto en las Enmiendas de los Estados Unidos de Am?rica.
Todo con tal de no llegar a abusos o claramente ser? restringido para evitar afectar a la sana convivencia que alguna vez la plataforma SAMP nos brind?.
No tendremos los mejores sistemas o desarrolladores, sin embargo contamos con experiencia y estimamos poder darle la vuelta para poder hacer las cosas de forma at?pica o fuera de esterotipos y monoton?as volvi?ndolo m?s interesante y natural.
No estamos en contra de ning?n servidor, cada qui?n es libre de elegir el suyo.
Todos los d?as se desarrolla?m?s el servidor.
|
|
|
|
| Which timerfix plugin to use? |
|
Posted by: Luciano - 2019-05-09, 10:13 PM - Forum: Support
- Replies (6)
|
 |
There's various timerfix plugins made by Dan, KashCherry, Slice and there's fixes2.
I'm asking this question because I'm currently encountering an error with KashCherry's plugin (version 1.0.8):?
Code: [timerfix.plugin] cannot execute callback with name "Malloc_SolidifyTimer"
YSI version is 5.03.0689, server 0.3.7.
Should I switch to another plugin or keep using this one, despite the error? I was unable to find a fix for it.
|
|
|
|
| Linux compiling |
|
Posted by: 6cadilab9 - 2019-05-09, 05:05 PM - Forum: General Discussions
- Replies (2)
|
 |
Hello,
I just recently switched to ubuntu 16.04 for work purposes and I have a community to maintain and I don't really wanna dual boot windows.
So I was wondering is there a way I could compile on linux, haven't really done any research but I'm sure there is someone already doing this and I don't think there is harm in asking xd
|
|
|
|
Add votekick option |
|
Posted by: MatiasBernardez - 2019-05-09, 04:16 PM - Forum: Questions and Suggestions
- Replies (2)
|
 |
Add to the servers the option of vote kick when you press "TAB", would be necessary be high level in that server and that many players vote yes.?
This would be important if there's no staff online and u find a hacker or a troll, etc.?there would be also a option to select a reason for the kick.
|
|
|
|
|