help a little
#6

Quote:
Originally Posted by Owen007
Посмотреть сообщение
still understood nothing. just tell me how can i give one player only one time money and health.
Option 1:
PHP код:
new Checkpoint1 MAX_PLAYERS ]; 
Set it as 1 (or whatever number you choose) when a player enters a checkpoint, later check if it is 1 (or whatever number you chose) and inform a player, that he already picked it up, else - give him health, armour and etc.


Option 2 (better choice (code that I gave you some posts ago)):

Set for some variable a time. Later check if time is up. If it is, give him health, amour and etc., else - inform a player, that he already picked it up.
Reply


Messages In This Thread
help a little - by Owen007 - 22.06.2016, 10:35
Re: help a little - by luke49 - 22.06.2016, 10:48
Re: help a little - by Owen007 - 22.06.2016, 10:53
Re: help a little - by MBilal - 22.06.2016, 11:03
Re: help a little - by Owen007 - 22.06.2016, 11:06
Re: help a little - by luke49 - 22.06.2016, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)