16.03.2013, 12:10
Thankyou to both of you, I have it working.
Now I just need to make the timer longer than 1 second because it spams the chat the whole time the train is there. xD
+Repped
Quote:
public TrainCheck() { new Float:fDistance = GetVehicleDistanceFromPoint(MyFirstNPCVehicle, 1778.8184, -1953.8077, 14.8756); if(fDistance <= 10) { SendClientMessageToAll(COLOR_RED, "The train has arrived at Unity Station"); } return 1; } |
+Repped