Examples
Common things gamemodes and client scripts do, ready to copy. Each is
complete for what it shows; combine them into your own gamemode.
Server
| Example |
Shows |
| Spawns and welcome |
Spawn points, spawn protection, a welcome message, a car on spawn. |
| Admin commands |
Console commands, and an admin list. |
| Teams and scores |
Teams, skins, no friendly fire, kill scores sent to a HUD. |
| Shops and money |
Shop zones, buying over a channel, a Pay 'n' Spray. |
| A mission |
A two-player mission: a start marker, a waiting point, a timer, a ped to protect, a reward. |
| A shop menu |
A shop menu opened and run by the server, no client script. |
| Personal vehicles |
A car spawner, owners, locking, cleanup. |
| Rounds and timers |
A timed round with a countdown and a winner. |
| Saving players |
Money and position kept between visits, in a JSON file. |
| Wanted levels and police |
Crimes, cops, bounties. |
| Crashes and vehicle hits |
A no-crash zone, a demolition derby, hit-and-runs, bullet-proof cars. |
Client