OnPlayerText
#7

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
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.
maybe you know what is my point, but i didn't understand the second part, i mean how to script it, on what call back ?
Reply


Messages In This Thread
OnPlayerText - by AnonScripter - 27.09.2013, 20:59
Re: OnPlayerText - by Konstantinos - 27.09.2013, 21:44
Re: OnPlayerText - by DanishHaq - 27.09.2013, 21:50
Re: OnPlayerText - by AnonScripter - 27.09.2013, 22:00
Re: OnPlayerText - by Mattakil - 27.09.2013, 22:07
Re: OnPlayerText - by Pottus - 27.09.2013, 22:12
Re: OnPlayerText - by AnonScripter - 27.09.2013, 22:27
Re: OnPlayerText - by Pottus - 27.09.2013, 22:44
Re: OnPlayerText - by AnonScripter - 27.09.2013, 22:58
Re: OnPlayerText - by Pottus - 27.09.2013, 23:08

Forum Jump:


Users browsing this thread: 5 Guest(s)