11.06.2014, 06:56
This is It!
Код:
if(IsPlayerInRangeOfPoint(playerid, 12.0, 37.74, -1520.81, 5.22)) // Santa Maria Beach 2
{
if(tollopen==0)
{
SetObjectRot(tollgate1, 359.99560547,89.49993896-90,88.00000000); // Gate 1
GivePlayerMoney(playerid, -100);
SetTimerEx("santamariabeachtoll", 7000, false, "i", playerid);
SendClientMessage(playerid,COLOR_GRAD1," Toll Guard: Thank you for paying 100$, drive safe!");
SendClientMessage(playerid,COLOR_GRAD1," (( The toll gate will close in 8 seconds, don't get trapped down! ))");
tollopen = 1;
}
else
{
