SA-MP Forums Archive
[GameMode] Basic Roleplay Script [y_ini, zcmd, sscanf2] - 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] Basic Roleplay Script [y_ini, zcmd, sscanf2] (/showthread.php?tid=490453)



Basic Roleplay Script [y_ini, zcmd, sscanf2] - Chrillzen - 26.01.2014

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>


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - iPrivate - 26.01.2014

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


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Yves - 26.01.2014

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


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - boomerboom - 26.01.2014

It's not even a lil' basic


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - lQs - 26.01.2014

Nice.


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Equuuuin0X - 26.01.2014

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


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Yves - 26.01.2014

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.


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Equuuuin0X - 26.01.2014

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..


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Symphony - 26.01.2014

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


Re: Basic Roleplay Script [y_ini, zcmd, sscanf2] - Chrillzen - 28.01.2014

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.