Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahir-AR committed Oct 4, 2020
1 parent 174e2f4 commit 2428417
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# FormAPI-PMMP
Plugin to create easy forms for PocketMine-MP.
<br>

<br><br>
**At the moment it only has a simple form and modal form, but with the passage of time I will implement the missing forms.**
# Example Simple Form
For create a simple form
```php
Expand Down Expand Up @@ -79,7 +78,7 @@ $player->sendMessage("User cancel");
```

# Example Custom Form
For create a modal form
For create a custom form
```php
use FormAPI\window\CustomWindowForm;

Expand All @@ -94,7 +93,7 @@ $window->showTo($player);
<img src="https://i.imgur.com/EOoiG31.jpg" width="250" height="200"></img>

<br>
For get the response from modal form, this is a event xD
For get the response from custom form, this is a event xD

```php
use FormAPI\response\PlayerWindowResponse;
Expand Down

0 comments on commit 2428417

Please sign in to comment.