Set_task question.
I've seen Arkshines advice and I would like to ask if my code is correct. Arkshines post:
Quote:
Is this correct? PHP Code:
|
Re: Set_task question.
One question: What does id + 1 ?
|
Re: Set_task question.
It kinda makes the task an unique id, so when you check it or remove the task you won't remove all the tasks you've coded.
|
Re: Set_task question.
Ok, thanks, code looks very pretty.
|
Re: Set_task question.
When using a taskid, make them already 32 numbers apart
|
Re: Set_task question.
Quote:
This could happen: PHP Code:
Player id 2 task-id set at ( id + 1 ) = 2 + 1 = [3] <- Same task-id already exists for player 1. Try something like: PHP Code:
|
Re: Set_task question.
Quote:
|
Re: Set_task question.
Quote:
|
Re: Set_task question.
Quote:
Code:
|
| All times are GMT -4. The time now is 20:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.