IdleWood gas refilling
#1

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
Reply
#2

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'
Reply
#3

Here is the line>
Код:
AddPlayerClass(280,1942.6703,-1771.3253,13.3906,158.0283,0,0,0,0,0,0); // IdlewoodGas
Reply
#4

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
Reply
#5

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;
}
Reply
#6

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.
Reply
#7

Yeah, but you teached it already.
I was just showing the solution.
Reply
#8

No; you were doing it for him. Let him do it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)