27.09.2013, 22:27
Quote:
I see exactly what your trying to do here, so basically what you need is an cp processor function to check which cp the player is in then execute the specified action lets break down the steps.
First part Checkpoints: 1.) Create Checkpoints (save their IDs in a array) 2.) Player enters checkpoint show textdraws 3.) Record which check point player entered Second part Actions: 1.) Player gave input is the player in a checkpoint? If true are they still in the checkpoint ? Yes continue no cancel action invalidate checkpoint record 2.) Which action did the player specify? Is this action valid? 3.) Execute specified action @Matkill: Never use IsPlayerInRangeOfPoint() in OnPlayerUpdate() dynamic checkpoints/areas eliminate the need for that completely on top of that your idea isn't even logical. |