A GTA SA:MP/openMP gamemode scripted in the Pawn lang with sqlite-designed SQL connector built-in.
Live demo at samp://95.216.7.113:39876
- Admin Zone
- Game editors (property, race and trucking point editting tools)
- Admin levels 0 to 5 (+ RCON)
- Granularity for commands
- ATM for banking services
- At least one ATM per city/town/village
- Combat Missions (experimental)
- Business robbery with numerous NPC shooters
- Briefcase picking for money exchange ($50k per a Briefcase) at the mission end
- Deathmatch Minigame
- Custom arena in the woods
- "Legal" player killing, no wanted level added per kill
- 4-minute long matches, 45-second interval before a match for players to join
- Localization
- English + Czech (partly, WIP)
- Personal cellphone
- Accessed easily via the
KEY_YESkey (Y usually) - Send private messages directly to a player
- Check bank account balance
- Call a service (car mechanic, pizza delivery, a taxi ride, ...)
- Accessed easily via the
- Prizes
- Tiki ($10M) and Pumpkin ($1.5M) pickups
- Hidden on pick up automatically
- Racing
- Custom races all across the map
- Air, ground and naval
- Stunts
- Real Estate
- Custom spawn point
- Custom vehicle attached (including the modifitaions)
- Custom safehouse
- Up to 5 properties per player
- Save custom skins (up to 5 per property)
- Taxi Missions
- Ad-hoc NPC spawned for a player
- Randomized customer locations and targets
- Increased commissions for the taxi rides with done count
- Areas of operation: LV, SF, LS, or whole map
- Tow Missions
- Car impound service
- Bonus for a new vehicle model (per mission)
- Increased commission for the tow mission count and distance from SF Docks
- Teams
- Custom salary per team
- Special commands available
- Custom weapons
- Team chat using the exclamation mark at the beginning of a message (e.g.
!message)
- Trucking Missions
- 15+ trucking points (petrol stations etc)
- Custom missions
- Weighted commission/bonus per done mission/delivery
- Tutorial (experimental)
- A vademecum subsystem for new players
- Work in progress
^ A player spawned at their set spawn-point after a registration/logging-in.
^ Racing point right after registration into the race. Showing the racing point pickup with the racing point name 3DText text. The first checkpoint starts the race when entered.
^ The exterior of every common personal property shows the entrance point (white arrow pickup), the offer point (green/red house pickup according to the occupance state of such property), and custom vehicle attached.
^ The common interior shows 4 pickups in total: shirt pickup (to change the skin), pills pickup (to deposit/withdraw owned drugz and stuff), heart pickup (to gain full HP and armour), and the exit pickup (to exit the property interior).
^ The custom interior is an ad-hoc built interior (very limited occurance). Pickups are places to custom points, allowing the secondary exit(s) as well.
^ Custom black market entrypoint in a custom interior.
^ The commercial property exterior example. Occupied state is indicated via the 3DText text with the tenant's name. This property can still be outbought by another player though.
^ A random customer to take the taxi ride.
^ A random target generated by the customer.
^ A random destination shown when a new customer enters the taxi cab.
^ A random tow mission attempt stats while a vehicle being towed.
^ The trucking mission details shown in the right bottom corner. The marked truck in the picture indicates that the mission is "paused" as the player has to drive it to continue the mission.
^ Detail of a detached trailer (decomposing in the sea waters). Custom information text is shown until the trailer is reattached back to the truck registered for the mission.
MapUI is an util to parse and visualize the database data (coords) on the high-res GTA SA map (source: reddit). To run it, go to utils/mapui and just run it in console like this:
go run main.goThe MapUI tool is the available at http://localhost:3000.
^ Detailed tooltip for a commercial property in the MapUI util.
Fetch the sampctl tool for the pawn package management.
dnf install sampctl
Clone this repo and try to build it using the build command:
sampctl ensure
sampctl build
# or Simply
make build
The compiled .amx gamemode file should then pop up in the gamemodes directory.
Simply put the compiled .amx gamemode file into the gamemodes directory of your SAMP server's. Then update the server config file (config.cfg, or config.json) like this:
gamemode crl2
[...]
"main_scripts": [
"crl2 1"
],
[...]The examples above are shown respectively to the config file names mentioned.
/acc --- game account info dump
/admins --- lists admins online
/afk --- (un)sets the Away-From-Keyboard state
/animoff --- clears all animations
/bank --- lists banking subcommands
/cmd --- lists available commands for player
/credits --- shows gamemode credits and version
/dance --- enables special animations (dancing)
/deal --- lists subcommands for dealerz
/deathmatch --- lists subcommands for the deathmatch module
/drugz --- lists substances in pockets
/dwarp --- teleports the player in vehicle to racing the common location
/fix --- repairs the player's vehicle
/givecash --- sends cash to other player
/help --- lists helper information
/hide --- (un)hides the player on map
/kill --- to commit suicide
/lay --- enables special animations (laying)
/locale --- shows the language list for localization
/locate --- dumps the actual player's coordinates
/lock --- locks the player's vehicle
/phone --- shows the phone call menu
/pm --- sends the private message to other player
/port --- enables to warp to special locations on map
/prizes --- dumps the information about Tiki and Pumpkin prizes
/property --- lists subcommands for property handling
/race --- lists subcommands for racing module
/rules --- dumps the server rules information
/scores --- shows the High Scores table
/search --- special command for Policemen
/skydive --- enables to skydive from random locations
/taxi --- starts a Taxi mission
/tow --- starts a Tow mission
/text --- sends a public message to other player
/truck --- enables/disables the Trucking missions
/tut --- shows the tutorial statistics
/unlock --- unlocks the player's vehicle
/wanted --- shows the wanted list of online players
/acmd --- lists admin commands per level
/admincol --- changes the player color according
/clear --- flushes the chat
/flip --- flips and repairs a player's car
/hp --- sets the 100 HP + armour to player
/nitro --- sets the nitrous level to player
/cam --- lists subcommands for camera view
/countdown --- sets the seconds to start the countdown
/get --- warps the player to admin
/goto --- warps the admin to player
/skin --- sets the skin for player
/crime --- plays the crime sound (Police T-Code), experimental
/drunk --- sets the drunk level to a player
/elevator --- operates the Admin elevator
/kick --- kicks the player from server
/packet --- prints the packet loss per player
/reset --- resets cash for a player
/spectate --- sets the spectate mode on a player
/vehicle --- spawns a vehicle by ID
/weapon --- sets a vehicle to a player
/weapons --- sets the weapons pack to player
/ban --- bans the player (via IP)
/edit --- shows a dialog window with all common editors
/fakechat --- sends the fake chat as a player
/lvl --- sets the Admin level to player
/restart --- sets the countdown for 60 seconds to restart the server
Each property ID has to be unique server-wide. It is recommended to use 5-digit format like 40605, where:
4stands for the greater zone ID06stands for a district/block ID (incremented)05stands for a property ID within the same district/block
Greater zone IDs:
1 - San Fierro
2 - Desert
3 - Las Venturas
4 - Countryside, Farms
5 - Los Santos
-h "95.216.7.113" -p "39876" -n "krusty" -g "C:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\"
./samp-npc -h "127.0.0.1" -p "39876" -n "[NPC]taxi" -m "taxi"
Fetch Go binary from https://github.com/adnanh/webhook. Then fill Telegram (TG) bot token and chat ID to configs/webhook.sh and run it in background using:
webhook -hooks configs/webhook.json -verbose &













