SA-MP Forums Archive
Dealership - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dealership (/showthread.php?tid=402736)



Dealership - WiseRice - 27.12.2012

can someone help me, i have a dealership im using ravens roleplay but everytime someone buys a car it goes to sf and also sometimes the cars get bugged like all the car id's start mixing up can someone help please
Will Rep Will Helps <3 Thanks


Re: Dealership - WiseRice - 27.12.2012

Quote:

public IsAtDealership(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 125, 2128.0864,-1135.3912,25.5855) || IsPlayerInRangeOfPoint(playerid, 50,537.3366,-1293.2140,17.2422) || IsPlayerInRangeOfPoint(playerid, 75, 2781.0132,-1613.7152,10.9219) || IsPlayerInRangeOfPoint(playerid, 75, 1756.2378,-2546.2749,13.5469)) return 1;
else if(IsPlayerInRangeOfPoint(playerid,100, 1099.995117,-1202.029296,17.804687) || IsPlayerInRangeOfPoint(playerid, 100, 2498.383300,-2263.643066,3.196316) || IsPlayerInRangeOfPoint(playerid, 50, 299.1723,-1518.6627,24.6007) || IsPlayerInRangeOfPoint(playerid, 75, 2520.0972,-1519.7384,23.9370)) return 1;
else return 0;
}

not sure but i think this is one of the script that can help you guys out to see whats the problem thanks