Fix README typo
This commit is contained in:
parent
f7ee07af8b
commit
8905f2e154
@ -43,7 +43,7 @@ const isClimbing = await rpc.callClient(player, 'getIsClimbing');
|
||||
|
||||
##### Server-side
|
||||
```javascript
|
||||
constrpc = require('rage-rpc');
|
||||
const rpc = require('rage-rpc');
|
||||
|
||||
rpc.register('getAllLicensePlates', () => mp.vehicles.toArray().map(vehicle => vehicle.numberPlate));
|
||||
```
|
||||
|
Reference in New Issue
Block a user