[FS] Fuel System with Display -
Kane_Phoenix - 07.01.2009
Fuel System V 0.2
This is my new FuelSystem Filterscript with a new Gas Display i hope you like it
Info:
Gas Stations in all Citys
/fill to Fillup your car
Price per Liter = 10$ change it to yours
Download:
German Version: BenzinSystem.zip (6 KB)
English Version: FuelSystem.rar (6 KB)
Re: [FS] Fuel System with Display -
sebihunter - 07.01.2009
not bad
Re: [FS] Fuel System with Display -
Jese - 07.01.2009
Looks nice.
Re: [FS] Fuel System with Display -
zhemphyr - 07.01.2009
3rd post. its nice.!
Re: [FS] Fuel System with Display -
znake - 04.02.2009
Nice
Re: [FS] Fuel System with Display -
eXchainZ-FoReVeR - 06.02.2009
Benzin? Lol. You mean Fuel.
Re: [FS] Fuel System with Display -
1337pr0 - 06.02.2009
Quote:
Originally Posted by eXchainZ-FoReVeR
Benzin? Lol. You mean Fuel.
|
You fail.
German Version: BenzinSystem.zip (6 KB)
English Version: FuelSystem.rar (6 KB)
Can you see it now? Benzin = Petrol. You, are this thread's official nub.
Re: [FS] Fuel System with Display -
Homerman - 06.02.2009
WOW nice! I thought when I saw "benzin" that you're from Slovakia, forgot that in Germany it's same xD xD xD
Re: [FS] Fuel System with Display -
G_ROW_Chez - 08.02.2009
in russian benzin is the same as fuel or petrol xD
Re: [FS] Fuel System with Display -
oOChazyBoyOo - 08.02.2009
its good how u made this
Re: [FS] Fuel System with Display -
g@k - 08.02.2009
pastebin link?
Re: [FS] Fuel System with Display -
wollodya - 09.02.2009
looks nice, good idea to use these
|||||||
Re: [FS] Fuel System with Display -
Rambo_NL - 04.03.2009
very nice script man ..
but i got 1 problem
if i loaded the fs my main commands (in my gm) are not working any more
i only get : You are not an a Gas Station!
help pls
Re: [FS] Fuel System with Display -
Maikel - 04.03.2009
Quote:
Originally Posted by G_ROW_Chez
in russian benzin is the same as fuel or petrol xD
|
In dutch is benzin
e same as fuel or petrol.
Re: [FS] Fuel System with Display -
Dujma - 04.03.2009
Quote:
Originally Posted by Maikel
Quote:
Originally Posted by G_ROW_Chez
in russian benzin is the same as fuel or petrol xD
|
In dutch is benzin e same as fuel or petrol.
|
Croatian = Benzin xD
Re: [FS] Fuel System with Display -
ICECOLDKILLAK8 - 04.03.2009
Quote:
Originally Posted by 1337pr0
Quote:
Originally Posted by eXchainZ-FoReVeR
Benzin? Lol. You mean Fuel.
|
You fail.
German Version: BenzinSystem.zip (6 KB)
English Version: FuelSystem.rar (6 KB)
Can you see it now? Benzin = Petrol. You, are this thread's official nub.
|
Correction - He is SA:MP's official nub, He always spams useless shit, Nice script BTW
Re: [FS] Fuel System with Display -
KenniH - 10.04.2009
I can get it working togheter with the gamemod pen1ls. When i activate this fs, the login system on pen1ls dont work. Can anyone tell me how to fix this ?
regard kenni
Re: [FS] Fuel System with Display -
DiDok - 10.04.2009
This filterscript is heavily bugged - it blocks other commands (add return 0 at the end of OnPlayerCommandText to fix it) and causes monstrous lags on other clients because of 1ms timer and a lot of unnecesary n-iterations loops =/ Even after heavy modifying I can't make it work properly, so I suggest finding another fuel script...
Re: [FS] Fuel System with Display -
KenniH - 10.04.2009
didok have you made one ?
Re: [FS] Fuel System with Display -
DiDok - 10.04.2009
No, I'm using this after a lot of modifications and adjustments (so I won't release it because it works only on my server). To fix it:
- replace whole OnPlayerCommandText with this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
if(strcmp(cmd, "/fill", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(IsAtGasStation(playerid))
{
// nдhste Tankstelle finden
new Float:olddistance = 999999;
new Float:newdistance;
new closest = -1;
new Float:GasX,Float:GasY,Float:GasZ;
for (new i = 0; i < sizeof(gGasStationLocations); i++)
{
GasX = gGasStationLocations[i][0];
GasY = gGasStationLocations[i][1];
GasZ = gGasStationLocations[i][2];
newdistance = GetDistanceBetweenPlayerToPoint(playerid,GasX,GasY,GasZ);
if (newdistance < olddistance)
{
olddistance = newdistance;
closest = i;
}
}
GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Refuel! Please wait....",2000,3);
SetTimer("Fillup",RefuelWait,0);
gGasBiz[playerid] = closest+12;
Refueling[playerid] = 1;
}
else
{
SendClientMessage(playerid,COLOR_GREY," You are not an a Gas Station!");
}
}
}
return 0;
}
- under OnFilterScriptInit replace
pawn Код:
BenzinUpdatetimer = SetTimer("BenzinUpdate", 1, 1);
with:
pawn Код:
BenzinUpdatetimer = SetTimer("BenzinUpdate", 1000, 1);
(1ms timer X/ WTF man?)
Then it should work KINDA correctly (there are more bugs...) If commands are still bugged, tell me.