Fix README typo

This commit is contained in:
Micah Allen 2018-11-01 15:36:23 -04:00 committed by GitHub
parent f7ee07af8b
commit 8905f2e154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ const isClimbing = await rpc.callClient(player, 'getIsClimbing');
##### Server-side ##### Server-side
```javascript ```javascript
constrpc = require('rage-rpc'); const rpc = require('rage-rpc');
rpc.register('getAllLicensePlates', () => mp.vehicles.toArray().map(vehicle => vehicle.numberPlate)); rpc.register('getAllLicensePlates', () => mp.vehicles.toArray().map(vehicle => vehicle.numberPlate));
``` ```