22.02.2012, 18:00
English only here. Why dont you post in the portuguese section if you cant speak english?
Store the pickups coordinates somewhere, then use OnPlayerKeyStateChange to detect when a player presses f, and IsPlayerInRangeOfPoint to detect of the player who pressed is near a pickup.
Quote:
I have a problem in the pickups, and they're just running by typing the code that is behind the dialog, and I wanted to put them to open the dialog by pressing f ... Please help ..... |