IdleWood gas refilling -
Mriss - 14.03.2014
Here is my Code
pawn Код:
stock IsPlayerAtRefuelStation(playerid)
{
if (IsPlayerInRangeOfPoint(playerid,10,-1771.3253,13.3906,158.0283)) return 1; //Dilimore
if (IsPlayerInRangeOfPoint(playerid,10,4,5,6)) return 1; //random
return 0;
}
Could someone change it for Idlewood Gas?? Please
Re: IdleWood gas refilling -
MP2 - 14.03.2014
Go in-game and use /save. The coordinates will be saved to 'C:\Users\WIN_USER\Documents\GTA San Andreas User Files\SAMP\savedpositions.txt'
Re: IdleWood gas refilling -
Mriss - 14.03.2014
Here is the line>
Код:
AddPlayerClass(280,1942.6703,-1771.3253,13.3906,158.0283,0,0,0,0,0,0); // IdlewoodGas
Re: IdleWood gas refilling -
MP2 - 14.03.2014
The coordinates (x, y and z) are these numbers:
AddPlayerClass(280,
1942.6703,-1771.3253,13.3906,158.0283,0,0,0,0,0,0); // IdlewoodGas
Re: IdleWood gas refilling -
Dredd - 14.03.2014
pawn Код:
stock IsPlayerAtRefuelStation(playerid)
{
if (IsPlayerInRangeOfPoint(playerid,10,1942.6703,-1771.3253,13.3906)) return 1; //Idlewood
if (IsPlayerInRangeOfPoint(playerid,10,4,5,6)) return 1; //random
return 0;
}
Re: IdleWood gas refilling -
MP2 - 14.03.2014
Quote:
Originally Posted by Thresh
pawn Код:
stock IsPlayerAtRefuelStation(playerid) { if (IsPlayerInRangeOfPoint(playerid,10,1942.6703,-1771.3253,13.3906)) return 1; //Idlewood if (IsPlayerInRangeOfPoint(playerid,10,4,5,6)) return 1; //random return 0; }
|
If you just give him the code for, every time in the future that he wants to add/change a gas station he's going to have to ask someone to do it for him. If you TEACH him how to do it, he can do it himself.
Re: IdleWood gas refilling -
Dredd - 14.03.2014
Yeah, but you teached it already.
I was just showing the solution.
Re: IdleWood gas refilling -
MP2 - 14.03.2014
No; you were doing it for him. Let him do it.