[GameMode] Basic Roleplay Script [y_ini, zcmd, sscanf2]
#1

BASIC ROLEPLAY SCRIPT

Introduction: This script is coded from scratch by me. It was a big learning curve for me so don't be surprised by bad scripting methods or ugly alignment or w/e. I'm releasing it because I'm not working on it anymore. This script is a basic roleplay script and gives you an opportunity to code a big fresh roleplay script with cool features. There's already some mappings in the script, delete it if you wish to.

There might be stuff that's not finished... I just kind of abandoned this script when I lost motivation.

LINES: 11408


Credits: Kush (Y_INI tutorial), MadeMan (vehicle system), Swindle (boombox fs).


Functions:

Login/Register system,
small introduction,
administration system,
basic dynamic housing system,
basic dynamic business system,
vehicle system created by MadeMan,
basic dynamic properties system,
basic bank system,
very basic cellphone system,
very basic DMV and licenses system.


Commands:

Quote:

/fix - /flip - /tow - /kph - /mph - /eject - /ejectall - /clearmods - /trackcar - /v - /sellv - /givecarkeys - /vlock - /valarm - /trunk - /refuel - /rtc - /rac - /setfuel - /addv - /editv - /addealership - /deletedealership - /movedealership - /gotodealership - /addfuelstation - /deletefuelstation - /movefuelstation - /gotofuelstation - /greet - /acceptgreet - /givegun - /dice - /frisk - /revokeguns - /revokedrugs - /use - /buy - /buyboombox - /train - /lockbiz - /enter - /exit - /sellbiz - /bizname - /lockhouse - /buyhouse - /sellhouse - /createhouse - /deletehouse - /housebalance - /housedeposit - /housewithdraw - /buybiz - /bizwithdraw - /bizbalance - /clothes - /dropcigarette - /deposit - /withdraw - /balance - /mask - /pm - /ame - /sms - /call - /pickup - /phone - /hangup - /commands - /vehiclehelp - /househelp - /businesshelp - /giverespect - /use - /pay - /givedrug - /me - /do - /b - /(o)oc - /oocstatus - /advertise - /low - /report - /helpme - /help - /shout - /stats - /opencell - /closecell - /opendoor - /closedoor - /cuff - /uncuff - /megaphone - /radio - /duty - /arrest - /locker - /licenses - /acceptdeath - /takedrivingtest - /engine - /lights - /animlist

Administrator Commands:

Quote:

/givemoney - /setweather - /warn - /ban - /unbanip - /offlineban - /unban - /bank - /adminduty - /ajail - /setskin - /freeze - /unfreeze - /makeadmin - /gethere - /goto - /spraytag - /arevokeguns - /arevokedrugs - /kick - /adminchat - /a - /announcement - /veh - /clearchat - /respawnvehicles - /spec - /specoff - /mute - /unmute - /acceptreport - /markfalse - /setvw - /setinterior - /sethp - /setarmour - /agivegun - /createbiz - /createhouse - /deletebiz - /deletehouse - /agiveboombox - /agotohouse - /alockbiz - /agotobiz - /abizname - /asellhouse - /admincommands - /acmds - /agivedrug - /asellbiz - /alockhouse - /agivedrug - /prison

Download: <removed>
Reply
#2

I might not call this basic, compared to the commands, it looks really complicated. Good job.
Reply
#3

Quote:
Originally Posted by iPrivate
View Post
I might not call this basic, compared to the commands, it looks really complicated. Good job.
i agree don't seem to be a basic but looks very nice basic dynamic systems Hmmm
Reply
#4

It's not even a lil' basic
Reply
#5

Nice.
Reply
#6

I get this 1 error, when I tried to turn on my VPS with the gamemode to test it..

Code:
[21:22:29] Script[gamemodes/Roleplay.amx]: Run time error 19: "File or function is not found"
[21:22:29] Number of vehicle models: 0
It compiled already btw
Reply
#7

Quote:
Originally Posted by Equuuuin0X
View Post
I get this 1 error, when I tried to turn on my VPS with the gamemode to test it..

Code:
[21:22:29] Script[gamemodes/Roleplay.amx]: Run time error 19: "File or function is not found"
[21:22:29] Number of vehicle models: 0
It compiled already btw
Get crashdetect plugin.
Reply
#8

done.

Code:
[23:00:26] [debug] Run time error 19: "File or function is not found"
[23:00:26] [debug]  SSCANF_Init
[23:00:26] [debug]  SSCANF_Join
[23:00:26] [debug]  SSCANF_Leave
[23:00:26] [debug]  sscanf
[23:00:26] [debug] Run time error 19: "File or function is not found"
[23:00:26] [debug]  SSCANF_Init
[23:00:26] [debug]  SSCANF_Join
[23:00:26] [debug]  SSCANF_Leave
[23:00:26] [debug]  sscanf
I've put the sscanf plugins and include in my server files..
Reply
#9

Omg, can i have the gamemode please ?
Can you re-upload the pwn file in pastebin ?
Reply
#10

Quote:
Originally Posted by Equuuuin0X
View Post
I get this 1 error, when I tried to turn on my VPS with the gamemode to test it..

Code:
[21:22:29] Script[gamemodes/Roleplay.amx]: Run time error 19: "File or function is not found"
[21:22:29] Number of vehicle models: 0
It compiled already btw
Open up your server.cfg file and include plugins: streamer, sscanf. Also do you have all the files in the correct folders? Forgot any includes? Try to download a fresh sa-mp package and just include the scriptfiles, gamemode, includes and plugins.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)