is there a possible way into disabling /rcon login with string checks?
↧
posibility disabling remote commands
↧
[Ajuda] Warning 213 e 217
eu vi varios topico de ajuda mas nao consegui resolver
esse e outro warning o primeiro 217
Quote:
C:\Users\Usuario\Desktop\FLMIDIA\gamemodes\FL1-3.pwn(37185) : warning 217: loose indentation C:\Users\Usuario\Desktop\FLMIDIA\gamemodes\FL1-3.pwn(39194) : warning 213: tag mismatch C:\Users\Usuario\Desktop\FLMIDIA\gamemodes\FL1-3.pwn(39196) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Warnings. |
Code:
stock GetVehicleHealthEx(vehicleid)
{
new Float:health;
GetVehicleHealth(vehicleid, health);
if (health > 900.0)
{
return (health / 10.0); //linha 39194
}
else return ( health / 10.0 ) - (24); // linha 39196
}
Code:
if(Flood[playerid] > GetTickCount())
↧
↧
DIALOG INPUT
Hello. I dont know how to script Gasoline price. I wont set gasoline price 1 , 2 or 3 $.
It is my try for script:
I enter 3$ my Gasoline price set 1 , enter 111$ my gasoline price set 3 . It is the problem
It is my try for script:
Code:
if(strlen(inputtext) < 1) return ShowPlayerDialog(playerid, 306, DIALOG_STYLE_INPUT,""#COL_CYAN"(Cijena Goriva - Min.1 $ max 3$)",""#COL_RED"Unesite Cijenu Litra","Potvrdi","Odustani");
if(strlen(inputtext) > 3) return ShowPlayerDialog(playerid, 306, DIALOG_STYLE_INPUT,""#COL_CYAN"(Cijena Goriva - Min.1 $ , 2$ or 3$)",""#COL_RED"Unesite Cijenu Litra","Potvrdi","Odustani");
iznos = strlen(inputtext);
if(iznos < 1 || iznos > 3)
{
ShowPlayerDialog(playerid, 306, DIALOG_STYLE_INPUT,""#COL_CYAN"(Cijena Goriva - Min.1 $,2$ or3$)",""#COL_RED"Unesite Cijenu Litra","Potvrdi","Odustani");
return 1;
}
↧
[Ajuda] [sampgdk:error] Too many callback arguments (at most 32 allowed)
Bom, eu estou com um problema que não estou conseguindo resolver.
Este código aqui:
Está dando este erro:
Alguém sabe como eu posso estar resolvendo isso?
Este código aqui:
pawn Code:
JurosBank = floatround((PlayerInfo[playerid][pConta] * 0.5) / 100, floatround_round);
Está dando este erro:
Code:
[sampgdk:error] Too many callback arguments (at most 32 allowed)
↧
[Ajuda] Sistema de Tunagem
Eu fiz um sistema de quando você retira seu carro da garagem ele tuna o carro o problema e que o Timer que eu coloquei não quer tunar o carro ele coloca o paintjob carrega tudo menos os componentes
Code:
forward Tunagem3(vehicleid, Name);
public Tunagem3(vehicleid, Name)
{
new CarroFile3[128];
format(CarroFile3, 128, "Garagem/%s 3.ini", Name);
DinheiroSujoPMC[vehicleid] = DOF2_GetInt(CarroFile3, "DinheiroSujo");
DrogasPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Drogas");
MateriaisPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Materiais");
EsmeraldaPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Esmeralda");
SaphiraPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Saphira");
AmetistaPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Ametista");
DiamantePMC[vehicleid] = DOF2_GetInt(CarroFile3, "Diamante");
OuroPMC[vehicleid] = DOF2_GetInt(CarroFile3, "Ouro");
PAS1[vehicleid] = DOF2_GetInt(CarroFile3, "Arma1");
PAS2[vehicleid] = DOF2_GetInt(CarroFile3, "Arma2");
PAS3[vehicleid] = DOF2_GetInt(CarroFile3, "Arma3");
PAS4[vehicleid] = DOF2_GetInt(CarroFile3, "Arma4");
PAS5[vehicleid] = DOF2_GetInt(CarroFile3, "Arma5");
PMS1[vehicleid] = DOF2_GetInt(CarroFile3, "Municao1");
PMS2[vehicleid] = DOF2_GetInt(CarroFile3, "Municao2");
PMS3[vehicleid] = DOF2_GetInt(CarroFile3, "Municao3");
PMS4[vehicleid] = DOF2_GetInt(CarroFile3, "Municao4");
PMS5[vehicleid] = DOF2_GetInt(CarroFile3, "Municao5");
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Spoiler"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Capo"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Teto"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Saia"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Lamps"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Nitro"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Escape"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Rodas"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Radio"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Hidraulica"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Para-Choque Frontal"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Para-Choque Traseiro"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Ventr"));
AddVehicleComponent(vehicleid, DOF2_GetInt(CarroFile3, "Ventl"));
ChangeVehiclePaintjob(vehicleid, DOF2_GetInt(CarroFile3, "PaintJob"));
if(DOF2_GetBool(CarroFile3, "Emplacado") == true)
{
SetVehicleNumberPlate(vehicleid, DOF2_GetString(CarroFile3, "Placa"));
format(DETRAN[vehicleid][Placa], 128, "%s", DOF2_GetString(CarroFile3, "Placa"));
format(DETRAN[vehicleid][Dono], 128, "%s", Name);
DETRAN[vehicleid][PlacaP] = true;
}
else
{
SetVehicleNumberPlate(vehicleid, "Sem-Placa");
DETRAN[vehicleid][PlacaP] = false;
}
}
Code:
SetTimerEx("Tunagem3", 500, false, "ds", Garagem, Nome);
↧
↧
Add line above existing line
Let's say I have this line:
Hello World.
When I write something in a file and use \n it will write it as, example:
Hello World.
Today is a nice day.
MY QUESTION:
Can I, and how can I make it so it writes it above the existing line, so it looks like this:
Today is a nice day.
Hello World.
Hello World.
When I write something in a file and use \n it will write it as, example:
Hello World.
Today is a nice day.
MY QUESTION:
Can I, and how can I make it so it writes it above the existing line, so it looks like this:
Today is a nice day.
Hello World.
↧
[Pedido] SetPlayerAttachedObject mascara / capacete
Alguém tem o SetPlayerAttachedObject
Desse capacete
https://1.bp.blogspot.com/-bLZdKjhIG...s400/mod-4.jpg
Dessa mascara
https://vignette.wikia.nocookie.net/...20161115161952
ou dessa mascara
https://cs4.gtaall.com.br/screenshot...65922165-1.jpg
e poderia me passar?
Desse capacete
https://1.bp.blogspot.com/-bLZdKjhIG...s400/mod-4.jpg
Dessa mascara
https://vignette.wikia.nocookie.net/...20161115161952
ou dessa mascara
https://cs4.gtaall.com.br/screenshot...65922165-1.jpg
e poderia me passar?
↧
[MAP] Federal Bureau of Investigation EXTERIOR
Hello everyone, today I am going to present to you a map I worked for Balkan Legacy. It's an anti-terrorist unit (something like the FBI, SAJ, etc.)
If you are interested in my work for money, One map costs from 7 to 10 depending on the map. You can contact me via private message or instagram kenanrovcanin
Images :
https://imgur.com/gallery/EeZDmJE
If you are interested in my work for money, One map costs from 7 to 10 depending on the map. You can contact me via private message or instagram kenanrovcanin
Images :
https://imgur.com/gallery/EeZDmJE
↧
[Ajuda] Limite de passageiros
Qual é o valor maximo de passageiros que um carro pode ter no SAMP?
↧
↧
San Fierro Roleplay
Introduction
San Fierro Roleplay is a heavy RP server that is based in San Fierro and provides more than just traditional Roleplay servers on SAMP. San Fierro Roleplay (SFRP) offers you the chance to develop your character, roleplay with both legal and illegal factions along with a script that has been 3 years in the making! Unlike most other servers we have a dedicated team of scripters that work together with the community to implement ideas, suggestions and maintain the various unique features such as a financial market within our game server.
Features
On San Fierro Roleplay we offer you a ton of our own unique features, and many more to come!
Custom housing system
![]()
Dynamic job system
![]()
Realistic Economy
![]()
Custom skins in-game
![]()
Custom dealerships
![]()

Dynamic job system

Realistic Economy

Custom skins in-game

Custom dealerships

↧
On press 2,4,6,8
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
It shouldl be num lock or above f1,f2 numbers?
only 4,6 is working on num lock...
2 and 8 is not working
why?
pawn Code:
if(newkeys == 2048) SendClientMessage(playerid, COLOR_LIGHTRED, "8 Pressed"); //
else if(newkeys == 4096) SendClientMessage(playerid, COLOR_LIGHTRED, "2 Pressed"); //
else if(newkeys == 8192) SendClientMessage(playerid, COLOR_LIGHTRED, "4 Pressed"); //
else if(newkeys == 16384) SendClientMessage(playerid, COLOR_LIGHTRED, "6 Pressed"); //
It shouldl be num lock or above f1,f2 numbers?
only 4,6 is working on num lock...
2 and 8 is not working
why?
↧
Help Error create band
Hello, again well I have another problem, when executing the command / get band, in the log the following comes out, and the band is not created
error:
code:
error:
pawn Code:
[ERROR] ID: 1064 - Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's::.','1', 'Diego_McMillan','Rango1','Rango2','Rango3','Rango4','Rango5','Rango6' at line 1 - Callback - - Query: INSERT INTO facciones (Nombre, Integrantes, Lider, Rango1, Rango2, Rango3, Rango4, Rango5, Rango6, tipobanda, fecha,EnUso) VALUES ('.::The Gangster's::.','1', 'Alejandro_Gutierrez','Rango1','Rango2','Rango3','Rango4','Rango5','Rango6','Mafia','23/11/2019','1')
code:
pawn Code:
case CREARMAFIA:
{
if(response)
{
if(PlayerInfo[playerid][pFaccion] > 0) return SendClientMessage(playerid, -1, "No puedes crear bandas, tu ya eres integrante de una.");
new day,month,year;
new DB_Query[256];
getdate(day,month,year);
PlayerInfo[playerid][Moneda] -= 50;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"INSERT INTO facciones (Nombre, Integrantes, Lider, Rango1, Rango2, Rango3, Rango4, Rango5, Rango6, tipobanda, fecha,EnUso) VALUES ('%s','1', '%s','Rango1','Rango2','Rango3','Rango4','Rango5','Rango6','Mafia','%d/%d/%d','1')",inputtext,PlayerInfo[playerid][NombreTemporal],year,month,day);
mysql_tquery(Conecction, DB_Query);
new h = UltimaIDBandas += 2;
PlayerInfo[playerid][pFaccion] = h;
PlayerInfo[playerid][pRango] = 8;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"UPDATE `usuarios` SET Faccion = '%d', Rango = '8' WHERE `Username`='%s'",h,PlayerInfo[playerid][NombreTemporal]);
mysql_tquery(Conecction, DB_Query);
UltimaIDBandas = 0;
CargarFacciones();
format(string,128,"{FFFFFF}Creaste la Mafia con el nombre {FFCC00}%s", inputtext);
ShowPlayerDialog(playerid,habilidad,DIALOG_STYLE_MSGBOX,"{FFFA00}Felicidades",string,"Aceptar","");
}
return 1;
}
case CREARORG:
{
if(response)
{
if(PlayerInfo[playerid][pFaccion] > 0) return SendClientMessage(playerid, -1, "No puedes crear una organización, si tu ya eres integrante de una.");
new day,month,year;
new DB_Query[256];
getdate(day,month,year);
PlayerInfo[playerid][Moneda] -= 50;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"INSERT INTO facciones (Nombre, Integrantes, Lider, Rango1, Rango2, Rango3, Rango4, Rango5, Rango6, tipobanda, fecha,EnUso) VALUES ('%s','1', '%s','Rango1','Rango2','Rango3','Rango4','Rango5','Rango6','Mafia','%d/%d/%d','1')",inputtext,PlayerInfo[playerid][NombreTemporal],year,month,day);
mysql_tquery(Conecction, DB_Query);
new h = UltimaIDBandas += 2;
PlayerInfo[playerid][pFaccion] = h;
PlayerInfo[playerid][pRango] = 8;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"UPDATE `usuarios` SET Faccion = '%d', Rango = '8' WHERE `Username`='%s'",h,PlayerInfo[playerid][NombreTemporal]);
mysql_tquery(Conecction, DB_Query);
UltimaIDBandas = 0;
CargarFacciones();
format(string,128,"{FFFFFF}Creaste tu organización con el nombre {FFCC00}%s", inputtext);
ShowPlayerDialog(playerid,habilidad,DIALOG_STYLE_MSGBOX,"{FFFA00}Felicidades",string,"Aceptar","");
}
return 1;
}
case CREARPANDILLA:
{
if(response)
{
if(PlayerInfo[playerid][pFaccion] > 0) return SendClientMessage(playerid, -1, "No puedes crear bandas, tu ya eres integrante de una.");
new day,month,year;
new DB_Query[256];
getdate(day,month,year);
PlayerInfo[playerid][Moneda] -= 50;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"INSERT INTO facciones (Nombre, Integrantes, Lider, Rango1, Rango2, Rango3, Rango4, Rango5, Rango6, tipobanda, fecha,EnUso) VALUES ('%s','1', '%s','Rango1','Rango2','Rango3','Rango4','Rango5','Rango6','Pandilla','%d/%d/%d','1')",inputtext,PlayerInfo[playerid][NombreTemporal],year,month,day);
mysql_tquery(Conecction, DB_Query);
new h = UltimaIDBandas += 2;
PlayerInfo[playerid][pFaccion] = h;
PlayerInfo[playerid][pRango] = 8;
mysql_format(Conecction, DB_Query,sizeof(DB_Query),"UPDATE `usuarios` SET Faccion = '%d', Rango = '8' WHERE `Username`='%s'",h,PlayerInfo[playerid][NombreTemporal]);
mysql_tquery(Conecction, DB_Query);
UltimaIDBandas = 0;
CargarFacciones();
format(string,128,"{FFFFFF}Creaste la Pandilla con el nombre {FFCC00}%s", inputtext);
ShowPlayerDialog(playerid,habilidad,DIALOG_STYLE_MSGBOX,"{FFFA00}Felicidades",string,"Aceptar","");
}
return 1;
}
↧
[Ajuda] Há como mudar cor de objeto attachado ?
Boa noite, coloquei alguns objetos em um carro e usei o AttachObject para colocar o objeto no carro, até ai está tudo certo, porém tentei mudar a cor do objeto e ele ficou invisível kkkk, isso quer dizer que não da para mudar a cor ou é um bug no código ?
↧
↧
INTERNET TAB 0.3.7 please - RIP previous versions samp
Hello Kalcor, could you enable internetTAB in samp version 037 please, I also only think something, if you want the other servers that are still in previous versions to be in the current version 0.3.7 it would be enabling internetTAB since it would motivate them to change to the version I understand that HostedTAB is paid, but internetTAB should be free for that there are three options
*
favorites-internet-hosted
*
favorites-internet-hosted
↧
0.3.7 поставьте обратно пожалуйста
Привет, Калкор!
Пожалуйста, включи синхронизацию этого сервера и не выключай сервера во вкладках интернет и хостед.
У меня из-за этого не работает хостинг на сервер какие-то постоянные ошибки ну это не очень прикольно знаешь.
Пожалуйста, включи синхронизацию этого сервера и не выключай сервера во вкладках интернет и хостед.
У меня из-за этого не работает хостинг на сервер какие-то постоянные ошибки ну это не очень прикольно знаешь.
↧
eLg Clan's FR/RP Official Server

eLg Clan's FR/RP Official Server | 0.3.7 | 87.98.132.123:7777 | www.elgclan.net
We first launched in January 2007 and have since opened our doors to thousands of players over the past 11 years. Our script has been developed significantly over this period of time, and is now the most advanced it has ever been. The aim of the server is find the right balance between the players who want to come and freeroam, enjoying the benefits of the server in freeroam mode ( /fr ), and the type of player who wants to come and roleplay with groups of players from within the community ( /rp ) . With all of the relevant features that our script brings to the server, we have attracted both of these types of players for years.
Organisation System
Our organisation system is the core element of the server. The system allows great flexibility for all types of players. The system itself is categorised into a variety of different organisations (see below). All organisations are created following the players' requests and have the following generic functionality:
- A fully dynamic system allowing great flexibility for editing and creating organisations; without the need for a server restart, all changes are made dynamically.
- An exclusive organization channel allowing all org members to communicate privately.
- Leader and co-leader functionality.
- Functioning organization gates with gate modes.
- CCTV capabilities and alarm systems to alert of any intruders inside the organisation's HQ.
- A unique organisation color, skins, weapons and vehicles all requested by the organisations leader.
- An organization bank and wage system.
- Organization checkpoints containing information and options (depending on your leader and rank status)
- Organization ranks and permission sets for each rank.
Law Organisations
Our law organizations are made up of San Andreas Police Department, Special Weapons and Tactics, and San Andreas Armed Forces. Each of these organizations work together to combat the crime that occurs within the server. Law organisations have special features that allows them to combat crime, some of these features are listed below.
- A law channel allowing all law organizations to communicate with each other.
- A full wanted system allowing players to see who is wanted, along with their level and additional information such as who wanted the player originally and/or which crime belongs to each wanted star.
- The ability to create cones and roadblocks to close off parts of San Andreas.
- The ability to frisk players to discover what items the criminal is carrying as well the ability to remove those items.
- Law enforcers can cuff criminals.
- A location command allowing law enforcers to locate a criminal's last whereabouts (using a timing delay on the arriving information)
- Criminals can be jailed for a set time based on their wanted level in a roleplay situation, or can be arresred by being killed (if they attempt to escape)
- Police officers can fine wanted players. This will remove their wanted level.
- Police officers can deploy stingers in attempt to pop criminals' tires.
Criminal Organisations
Just like our law organisations our criminal organisations also have specific features. These organisations are split into 2 categories (Gang & Mafia). Here is a combined list of the features gangs & mafias have access too.
- The ability to take over turfs. These turfs will be highlighted on the map using the organizations' color.
- The ability to rob banks and casinos (permitting there are enough law enforcers online)
- A fully functioning drugs importing / drugs selling system.
- The ability to add tags using the organization's initials, or alternatively some gangs can use single-player tags.
The script also supports other types of organizations from health services to public transport, and quarry worker to hitman, etc etc.
Property/House System
We recognise that players like to have somewhere/something that they can call their own - we have 100+ properties in the server, with more being dynamically added on a weekly basis to meet demand, ensuring that there are a variety of property types available for all players. A player has full control over their property, allowing them to buy and sell when required. Players can sell their property for the 'market' price, or sell it directly to another player. Property owners can also allow their property to be rented out to other players in the server (this creates another source of income). The property pickup color, and the color of the 3D text above, will depend of the currect state of the property (for sale, owned, renting, renting and full, etc). Property owners and tenants can lock/unlock their property interior. Properties interiors have safes, where players can store cash, weapons and drugs. If you own a property, you can reset your personal vehicle locations to your property.
Business System
In addition to properties, players may also purchase shares in businesses. We have 100+ businesses within the server, which allows players to invest their money, and in return they get a steady source of income (based on their shares %) which is accumulated periodically regardless of if the player is online or not. Players may invest additional money to upgrade their business, which results in a higher timely income. If you own shares in a business, you can reset your personal vehicle locations to your business.
Bank System
To store the money that you generate within the server, we have a fully functioning bank system. Our bank system has the following functionality.
- Allows players to deposit and withdraw money from any bank or nearby ATM.
- Allows players to complete bank account transfers between different bank accounts.
- You can view your bank statement to see a list of your recent bank transactions.
- You can collect the interest that you have accumulated from the money you have in your bank account.
Licenses
To ensure that all players are capable of driving, flying, and riding motorcycles, we have the following licences:
- Driving license (Type /drivingschool if you don't have a driving license)
- Flying license
- Motorcycle license
- Weapon License (can be purchased in-game)
Personal Vehicle System
Throughout the server there are a number of car and bike dealerships allowing you to purchase cars and motorcycles. At dealerships you can purchase and test drive vehicles. Additionally you may purchase insurance for the vehicle, change vehicle color, and add a license plate if you wish to do so.
- All customisation and tuning are saved to personal vehicles, and you can remove them using the relevant commands
- Players have full control over all vehicles (engine, lights, windows, bonnet, storing items in the trunk, doors, etc)
- Not happy with your vehicle anymore? No problem. Either sell it to a dealership for a set price, or sell it to another player for the price of your choice.
- If you own property and/or business, you may choose where you want your vehicle to parked at either asset, then your vehicle will then spawn there if you need to reset it's location. Alternatively you can reset your vehicle's location to the nearest police department.
Jobs System
We have a variety of jobs/missions for players to complete. This allows the player to earn additional income if needed. We have the following jobs/missions:
- Bus missions
- Trucking missions
- Pizza delivery missions
- Streak missions (train)
Clothes System
Not happy with your skin's appearance? Then customise it; head to any of the clothing stores to purchase a large variety of accessories. You can attach these to your skin in any way you like. Items include Bandanas, Masks, Caps/Hats, Glasses, Watches and Helmets.
Items System
There are many 24/7 stores around San Andreas where players can purchase an assortment of items. These items range from personal walkie talkies (allowing players to have their own private channels), GPS (allowing players to choose a location and a way-point being set for them), cellphone (allowing players to call other players, send text messages, have a fully functioning contacts phonebook and many other features), and other functional items (cameras, cigarettes, rope, and much much more).
Unique Interiors
We have a variety of unique and exclusive interiors within the server. These custom interiors include banks, hospitals, airports, fire dept, bars, restaurants, and more.
Event System
The server has a dynamic event system; allowing admins to set up unique and custom events ranging from DM/TDM to Capture the flag/Capture the vehicle, to Races, and more. These events are created dynamically by admins can can be opened at any time. This system allows for real time events to occur, and for us to vary the gameplay within the server at any time.
Player Support
After years of experience we have developed a large range of player support mechanisms which ensure players are comfortable playing in the server. Below these are listed.
- A Help Desk Operator System - This is a dedicated team of players who can answer any player queries about the server, there are dedicated commands to enable you to ask questions and queries directly.
- An Advanced Admin System - Our admin system allows us to identify any unwanted hackers, DM'ers or just general annoyances immediately allowing the admins to deal with any problems quickly and efficiently so that the players' experience isnt affected.
Server Sided Features
To make our server more unique we have customised San Andreas' built in features; disabling client mod shops and Ammunations - they have been rebuilt on our server side, which allows much more customisation regarding these features.
We look forward to seeing you soon! - The eLg Staff Team
↧
SA-MP: Avengers Endgame Portals Edition!
↧
↧
3dtext check
Hey, how to check which 3dtext on car ?? (check which one i useing/close to me ?)
Code:
new Float: tmpx, Float: tmpy, Float: tmpz;
TrashCar[0] = CreateVehicle(408, -1990.0813, 244.4886, 35.6795, -90.0000, -1, -1, 100);
CarTrashText[0] = Create3DTextLabel("TrashCar 0/100", -1, tmpx, tmpy, tmpz, 5, 0, 1);
Attach3DTextLabelToVehicle(CarTrashText[0], TrashCar[0],0, 0, 0);
TrashCar[1] = CreateVehicle(408, -1989.4226, 249.4900, 35.6795, -90.0000, -1, -1, 100);
CarTrashText[1] = Create3DTextLabel("TrashCar 0/100", -1, tmpx, tmpy, tmpz, 5, 0, 1);
Attach3DTextLabelToVehicle(CarTrashText[1], TrashCar[1],0, 0, 0);
TrashCar[2] = CreateVehicle(408, -1988.9954, 254.5634, 35.6795, -90.0000, -1, -1, 100);
CarTrashText[2] = Create3DTextLabel("TrashCar 0/100", -1, tmpx, tmpy, tmpz, 5, 0, 1);
Attach3DTextLabelToVehicle(CarTrashText[2], TrashCar[2],0, 0, 0);
if(newkeys & KEY_NO)
{
if(playerDB[playerid][Darbas] == 7 && playerDB[playerid][bTrash] > 0)
{
new veh = GetNearest_Vehicle(playerid, 1);
if(veh == INVALID_VEHICLE_ID) return SendClientMessage(playerid,-1, "No Car");
if(GetVehicleModel(veh) != 408)
{
SendClientMessage(playerid, -1,"WRONG CAR");
}
else
{
VehicleInfo[veh][vehTrash] += playerDB[playerid][bTrash];
format(g_szBuffer, 148, "blablabla putted to car i%/100", playerDB[playerid][bTrash]);
SendClientMessage(playerid, -1, g_szBuffer);
playerDB[playerid][bTrash] = 0;
RemovePlayerAttachedObject(playerid, 9);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
ClearAnimations(playerid);
updateBinsCarLabel(veh);
}
}
}
}
return 1;
}
updateBinsCarLabel(vehicleid)
{
new veh = GetNearest_Vehicle(vehicleid, 1);
//new g_szBuffer[128];
if(veh == INVALID_VEHICLE_ID) return 1;
if(GetVehicleModel(veh) != 408) return 1;
format( g_szBuffer, sizeof( g_szBuffer ),"TrashCar i%/100", VehicleInfo[veh][vehTrash]) ;
Update3DTextLabelText(CarTrashText[0], 0xFFFFFFF, g_szBuffer); //Here how to check which one i useing/close to me ?
return 1;
↧
Maybe
instead of giving up we should just try to keep this game alive? It's still the same game, even without updates its still the same game, the game that we loved. Right now worst problem is in community, community is blaming kalcor for not releasing updates, why we should update our experience when it was amazing after all? You say that kalcor should fix bugs, but even with theese bugs you fallen in love with samp, so why now you are exaggerating theese problems when even with them you can just enjoy the game?
(to kalcor)
I think the most important part now is to keep masterlists alive, don't force users to move to latest version (or just make combined client for 0.3.7 and 0.3.DL).
(to kalcor)
I think the most important part now is to keep masterlists alive, don't force users to move to latest version (or just make combined client for 0.3.7 and 0.3.DL).
↧
[MAP] Interior GSF
Hello to all. Did respawn for Grove Street Family.
Video:
https://www.youtube.com/watch?v=XwzhFkVWh6k&t=24s
Video:
https://www.youtube.com/watch?v=XwzhFkVWh6k&t=24s
↧