[GameMode] Releasing my gamemode [Freeroam] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (
https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Releasing my gamemode [Freeroam] (
/showthread.php?tid=190177)
Releasing my gamemode [Freeroam] -
mick88 - 14.11.2010
This is a little freeroam GM I've been working on recently. It's called Newb Server Freeroam. The idea of it is to earn money for driven mileage and exchange money for vehicles/guns. It has toggleable deathmatch mode - admin can decide whether or not weapons are allowed.
Script features:
- Players earn money by driving around, score indicates player's wealth
- Vehicles and weapons can be bought with command /buy (as well as vehicle components, health and vehicle repair)
- Teleporting is allowed, player can teleport to any place by clicking on map, teleport to player, or save and load their position.
- Player menu available upon clicking player's name in scoretable (clicking own name results in showing /buy menu) allows sending private message or teleport to player
- Simple admin system, rcon admin can make any player an admin until player disconnects.
- Stats do not save, it's a simple freeroam aimed to kill some time
- admin can spawn any vehicle by /v command
- admins can enable/disable buying weapons. When weapons are disabled, all players lose their guns nad get kicked when they kill someone
- admins can set initial money for new players or give money by command /addcash
- buyable vehicle models and weapons can be easily added to /buy menu in OnGamemodeInit
- Vehicles automatically flip when they are upside-down, except airplanes and helicopters
- Admins can decide whether player vehicles disappear when owner disconnects
- Script can be easily edited and expanded
- All vehicles have random color upon spawn, players can change vehicle colors with command.
- Player commands can have player id or player name for parameter! (eg. /kick mick)
- Advanced PM system similar to the one in my main server (Convoy Trucking) with option to enter message in dialog
Anyone is welcome to edit and develop this gamemode and host it in his server. It may help some new scripters understand how to work with own vehicles and dialogs.
Player commands:
- /cmds - list of available commands
- /buy - shop menu with weapon, vehicles (cars, bikes, planes, helicopters, boats), health, vehicle components, jetpack and vehicle repair
- /vcolor [col1] [col2] - set current vehicle's color
- /pm [player] (message) - send private message, (message) can be omited and entered in new window
- /r (message) - reply to last private message
- * mick88 [text] - message in 1st person
- /savepos - saves current coordinates
- /loadpos - teleports to last coordinates
- /player [player] - opens player menu with option to send message or teleport to player
Admin commands:
- /addcash [player] [amount] - gives money to player
- /v (model) - spawns any vehicle (infernus as default)
- /kick [player] - kicks player from server
- /ban [player] - bans player's IP address
- /makeadmin [player] [level 1/0] - makes player admin. 0 means regular player, 1 means admin.
- /initialmoney [amount] - sets amount of money new players receive upon connecting
- /allowdm - toggles deathmatch mode on/off
- /deleteveh - toggles destroying player vehicle when player disconnects. When disabled all spawned vehicles stay in server
Re: Releasing my gamemode [Freeroam] -
Luis- - 14.11.2010
Looks awesome, Thanks
Re: Releasing my gamemode [Freeroam] -
[SP]Badman - 14.11.2010
Thank's Dude..
Re: Releasing my gamemode [Freeroam] -
Kitten - 14.11.2010
Nice job.
Re: Releasing my gamemode [Freeroam] -
[HUN]Poldzsiii - 22.11.2010
nice job mick
I need 1-2 coommand
Re: Releasing my gamemode [Freeroam] -
THCxH4X0R - 07.06.2011
How do you make yourself admin?
Re: Releasing my gamemode [Freeroam] -
Lorenc_ - 07.06.2011
/makeadmin
STOP
BUMPING
1 YEAR OLD
TOPICS.
Re: Releasing my gamemode [Freeroam] -
Akın Boşnak - 09.06.2011
thanks
Re: Releasing my gamemode [Freeroam] -
Iphone1234g - 09.06.2011
keep it up i will test it now
Re: Releasing my gamemode [Freeroam] -
Mike Garber - 09.06.2011
Quote:
Originally Posted by Lorenc_
/makeadmin
STOP
BUMPING
1 YEAR OLD
TOPICS.
|
This is a RELEASE topic, if someone finds it good and would like to use it, they may also ask questions about it, no matter how old it is.