-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,21 @@ | ||
## Téléphone pour FiveM | ||
# src_htmlphone | ||
|
||
### Appel event | ||
```LUA | ||
--================================================================== | ||
-- Police | ||
--================================================================== | ||
-- Police [Signaler un vol] | ||
TriggerEvent('police:callPolice', {type: 'Vole'}) | ||
-- Police [Signaler une agression] | ||
TriggerEvent('police:callPolice', {type: 'Aggression'}) | ||
-- Police [Autre] | ||
TriggerEvent('police:callPoliceCustom') | ||
-- Police [Annuler l'appel en cour] | ||
TriggerEvent('police:cancelCall') | ||
> A Vue.js project | ||
## Build Setup | ||
|
||
--================================================================== | ||
-- Ambulance | ||
--================================================================== | ||
-- Ambulance [Appel Coma] | ||
TriggerEvent('ambulancier:callAmbulancier', {type: 'Vole'}) | ||
-- Ambulance [Appel ambulance] | ||
TriggerEvent('ambulancier:callAmbulancier', {type: 'Aggression'}) | ||
-- Ambulance [Respawn] | ||
TriggerEvent('ambulancier:selfRespawn') | ||
-- Ambulance [Annuler l'appel en cour] | ||
TriggerEvent('ambulancier:cancelCall') | ||
``` bash | ||
# install dependencies | ||
npm install | ||
|
||
# serve with hot reload at localhost:8080 | ||
npm run dev | ||
|
||
--================================================================== | ||
-- Taxi | ||
--================================================================== | ||
-- Taxi [1 personne] | ||
TriggerEvent('taxi:callService', {type: '1 personne'}) | ||
-- Taxi [2 personnes] | ||
TriggerEvent('taxi:callService', {type: '2 personnes'}) | ||
-- Taxi [3 personnes] | ||
TriggerEvent('taxi:callService', {type: '3 personnes'}) | ||
-- Taxi [Annuler l'appel en cour] | ||
TriggerEvent('taxi:cancelCall') | ||
# build for production with minification | ||
npm run build | ||
|
||
# build for production and view the bundle analyzer report | ||
npm run build --report | ||
``` | ||
|
||
--================================================================== | ||
-- Mecano | ||
--================================================================== | ||
-- Mecano [Moto] | ||
TriggerEvent('mecano:callMecano', {type: 'Moto'}) | ||
-- Mecano [Voiture] | ||
TriggerEvent('mecano:callMecano', {type: 'Voiture'}) | ||
-- Mecano [Camionnette] | ||
TriggerEvent('mecano:callMecano', {type: 'Camionnette'}) | ||
-- Mecano [Camion] | ||
TriggerEvent('mecano:callMecano', {type: 'Camion'}) | ||
-- Mecano [Annuler l'appel en cour] | ||
TriggerEvent('mecano:cancelCall') | ||
|
||
--================================================================== | ||
-- Urgence | ||
--================================================================== | ||
-- Ambulance | ||
TriggerEvent('ambulancier:callAmbulancier', {type: 'Coma'}) | ||
-- Police | ||
TriggerEvent('police:callPolice', {type: 'Homme à terre'}) | ||
-- Hopital | ||
TriggerEvent('ambulancier:selfRespawn') | ||
|
||
``` | ||
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters