Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form->addRadioList('result', 'What will you do?', array(
- 'one' => 'He has left the town and never showed up with the provisions he promised.',
- 'two' => 'He has gotten angry but he is still in town; however, he seems to get infected.',
- ));
- if ($values['result'] = 'one')
- {
- $this->GameM->MorePlague($this->user->id);
- $this->GameM->MoveNextStage($this->user->id);
- $this->GameM->InsertResultFirst($this->user->id, 1);
- }
- else
- $this->GameM->MoveNextStage($this->user->id);
- $this->GameM->InsertResultFirst($this->user->id, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement