AP-Designs Basic Roleplay Script -
Abreezy - 04.11.2012
UPDATE VERSION 1.4.1
- Fixed a small error with faction saving
Download:
http://www.solidfiles.com/d/af852b9f76/
Quote:
UPDATED VERSION 1.4
- Added House System
- /Buy - To buy house
- /Sell - To sell house
- /Lockhouse - To lock or unlock house
- /Stats - Shows basic Information
- Fixed some database issues, new database is included on the download
|
Quote:
UPDATED VERSION 1.2- Fixed the mysql line
- Included the Audio files missing to fix issues
- Fixed the /returncar for rentable vehicles
- Changed /vcreate, you can just create a car now, after sitting in it, you can /vehtype to change the type of vehicle
- Added a part of the fuel system, it should shut off engine at 0 Fuel
|
Quote:
Alright back around a year ago, I released a game mode using dini and stuff, people somewhat liked it. Since then I have enhanced my knowledge in pawn, making things I always wished I could. Before I continue with this current project I'm working on, I thought it would be nice to release my current progress, of course I removed some things, but it allows newer people to check out some codes, learn some more, and hell maybe tell me somethings they noticed was wrong or what not.
Here is some information regarding the game mode, Which was made completely from scratch.
QUICK FIX FOR MYSQL
CHANGE LINE 917 TO
Code:
mysql_connect("IP", "USERNAME", "DATABASE", "PASSWORD");
UPDATED ON VERSION 1.2
Registration System- Age selection
- Skin Selection
- Gender Selection
- Roleplay Question Quiz
- Spawn Spot Pick
Dynamic Faction System - Admin creation of factions, done in game
- Faction Leaders can adjust faction name and rank names in game
- 8 ranks fully customizable, rank 7 and 8 can hire and fire
Dynamic Entrance System - Admin creation of entrances in game, via 2 simple commands
- Simple entering by pressing your space bar
- Virtual World is fully dynamic, set it to what you want, whenever you want
Dynamic Vehicle System
Create a vehicle in game at any time
Set vehicle to different type, public, rentable, purchasable
Admin park vehicles
Teleport to vehicles
Lock command with audio sound attached ( You could include your own mp3 if you want)
Basic MDC system - This is at the most basic form, you enter a command following vehicle plate, and it shows you to the owner, or renter
- This was just made to show you an example of how this could be done
MySQL - The server is fully integrated with MySQL
- This means the server saves everything on an online database, increases speed greatly
Admin Logs - As of right now, there is a log for all money given away, by staff
- This gives you example on how to make more logs
Player Commands
- /me
- /do
- /shout
- /low
- /whisper
- /engine
- /team
- /faction
- /lights
- /lock
- /returncar
Admin Commands- /fedit (Create or edit factions)
- /vcreate (Creates vehicles)
- /apark (Admin park Vehicles)
- /setvw (Sets player virtual world)
- /setint (Set player interior)
- /kick (Kicks the player)
- /ban (Bans the player)
- /oocstatus (Turns on or off OOC chat)
- /mute (Mutes a player)
- /unmute (UnMutes a player)
- /freeze (Freezes a player)
- /unfreeze (Unfreezes a player)
- * Abreezy slaps (Sends a player into the air) around a bit with a large trout.
- /createadmin (Make a player an admin)
- /setadminpassword (Sets admin a password needed to login to admin status) - Not in use -
- /adminlogin (Let's an admin Login) - Not in use -
- /adminduty (Sets your player color to yellow, letting players know you are on admin duty)
- /ecreate (Makes an entrance point)
- /einterior (Makes an interior for an entrance)
- /respawncar (Respawns the car you are sitting in)
- /gotocar (Allows you to teleport to a vehicle)
- /vehtype (Allows you to set the vehicle type [0 = Citizen, 1 = PD, 2 = Rentable, 3 = Ownable])
- /setrentprice (Allows you to set the rentable vehicles price)
- /setfaction (Puts a player into the faction as leader)
- /money (Gives a player money)
|
Download Links
GAMEMODE UPDATED: AP-DESIGNS RELEASE VERSION 1.4.1
Extra Notes
If you encounter any bugs, please post on these threads and I'd have it fixed A.S.A.P for you. Also, when you open the gamemode, use CTRL + F and type in "Mysql_Connect" You need to put your database information there.
Credits- SA-MP Forums ( I use to post so many help me topics, and honestly you guys taught me a lot)
- Myself ( Not to be cocky or anything, but I learned a lot of this alone by trial and error)
Respuesta: AP-Designs Basic Roleplay Script -
Parka - 04.11.2012
Good Work, I test
Re: AP-Designs Basic Roleplay Script -
♣Frosty♣ - 04.11.2012
Good work and its a friendly based roleplay script.Useful to newbies.
Re: AP-Designs Basic Roleplay Script -
Team_PRO - 04.11.2012
PHP Code:
Good Job For Your Gamemode
Re: AP-Designs Basic Roleplay Script -
davelord - 04.11.2012
I initialised MYSQL successfully and now when I start the server, it takes a while for the messages to pop up, and when I connect, it immediately shows "log in", even though I'm not registered, upon clicking "Login", the samp-server.exe immediately closed, without a error report, and when I click cancel, I get kicked. Help please.
Re: AP-Designs Basic Roleplay Script -
Team_PRO - 04.11.2012
Quote:
Originally Posted by davelord
I initialised MYSQL successfully and now when I start the server, it takes a while for the messages to pop up, and when I connect, it immediately shows "log in", even though I'm not registered, upon clicking "Login", the samp-server.exe immediately closed, without a error report, and when I click cancel, I get kicked. Help please.
|
You Mean When You Login Your Been Auto kicked
Re: AP-Designs Basic Roleplay Script -
davelord - 04.11.2012
Quote:
Originally Posted by Team_PRO
You Mean When You Login Your Been Auto kicked
|
No. samp-server.exe just shuts without giving me any warnings in the server-log.txt. I only get the login screen, when I click "cancel", it autokicks me, if I click "login", the server restarts and the samp-server.exe shuts.
Re: AP-Designs Basic Roleplay Script -
Abreezy - 04.11.2012
That means the Mysql isn't running correctly, I made a slight error in the pwn file, the mysql_connect should be:
Code:
mysql_connect("IP", "USERNAME", "DATABASE", "PASSWORD");
Sorry for the misunderstanding.
Re: AP-Designs Basic Roleplay Script -
davelord - 04.11.2012
Cheers.
EDIT: still got the same error.
Re: AP-Designs Basic Roleplay Script -
Team_PRO - 04.11.2012
But i test it its working properly
Re: AP-Designs Basic Roleplay Script -
Abreezy - 04.11.2012
Glad to hear the gamemode is working good for you.
Re: AP-Designs Basic Roleplay Script -
Wechsler - 04.11.2012
Uhm.. pretty nice but nothing is scripted there nearly. No factions nothing? no admin commandos? no animations or did I something wrong..
Re: AP-Designs Basic Roleplay Script -
davelord - 04.11.2012
Works now. Thanks alot, this is so usefull!
Re: AP-Designs Basic Roleplay Script -
ianneder - 04.11.2012
gone test it
Re: AP-Designs Basic Roleplay Script -
Abreezy - 04.11.2012
Quote:
Originally Posted by Wechsler
Uhm.. pretty nice but nothing is scripted there nearly. No factions nothing? no admin commandos? no animations or did I something wrong..
|
You make the factions all in game, yourself. Use the command /fedit, You will get a dialog for creating or editing a faction you have already created. You can then /setfaction to the rank, and use /editranks to edit the rank names for the faction.
This is a basic script so you could learn more with a nice little script, I might release a finished version of this also, not sure yet.
Re: AP-Designs Basic Roleplay Script -
Richard Steinheimer - 04.11.2012
Good Job Tyrone. I remember when you first started this script... Why the hell would you release it... ^_^
Re: AP-Designs Basic Roleplay Script -
XlimitXstudio - 04.11.2012
Cool script. Keep on the good worh bro.
Re: AP-Designs Basic Roleplay Script -
verlaj - 04.11.2012
Gonna test it
Re: AP-Designs Basic Roleplay Script -
Abreezy - 04.11.2012
I will update this frequently, feel free to tell me anything you'd like me to add. I initially released this as a base but I'd make it feel like a full script as well.
Re: AP-Designs Basic Roleplay Script -
Roleplayseeker - 04.11.2012
Any way to convert to linux samp server?