in the first 3 minutes of the map
hi
i want to use only knife in the first 3 minutes of the map. How can I make this. With set_task or with register_event I only need to know the thing with the first 3 minutes. |
Re: in the first 3 minutes of the map
this may work, but it uses set_task which I dont like :( :
PHP Code:
|
Re: in the first 3 minutes of the map
Here is a better script. The code Rolnaaba gave you will not work at all.
Code:
|
Re: in the first 3 minutes of the map
Quote:
|
Re: in the first 3 minutes of the map
Quote:
Let me get this straight... You wanted him to do this something like this. The problem with this is that when you do a that while loop. If I'm understand what you are saying. Is that this will lock up the server for about 3 minutes in a infinite loop till it reaches it time to break out of the loop. Code:
|
Re: in the first 3 minutes of the map
no , no no , notice i was speaking to rolnaaba. i was not suggesting that he used that method , i simply stated that that was an "option". but in this sitaution it would be better to use a set task function , set_task function are best for sitautions like this when you need to set an actaul time to do a function .
|
Re: in the first 3 minutes of the map
set_task() is just a legimate function that you need sometimes.
There is nothing bad about it other then being quite CPU intensive. You can't just take a while loop and loop until the time reaches "map_start + 3min", it will lockup the server. |
Re: in the first 3 minutes of the map
Code:
|
Re: in the first 3 minutes of the map
Quote:
|
Re: in the first 3 minutes of the map
Quote:
|
| All times are GMT -4. The time now is 04:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.