SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 31/07/2019, 08:59 AM   #1
Mad
Little Clucker
 
Mad's Avatar
 
Join Date: Jul 2019
Location: Tunisia
Posts: 15
Reputation: 2
Flowers Mad Freeroam [NEW]

Mad Freeroam:

This is the only gamemode i have & the favorite one. From this gamemode i started learning the basics of PAWN scripting & SA:MP. It's a simple gamemode with a few features & object around it map.



-> Saving system that saves:
* Player position
* Admin level
* V.I.P level
* Kills
* Deaths
* Skin
* Score
* Virtual world
* Interior
* Cash.
-> A basic player commands (18 commands).
-> A Advanced Admin system with (30 commands).
-> A V.I.P system with (8 commands).
-> A full map with Vehicles & objects all around Los Santos.

I will work on a update for this script soon, this script is a basic script that has Player commands, Admin & V.I.P systems & a Map with vehicles & objects that means you can easily turn this script in Prison break gamemode, TDM gamemode, Deathmatch gamemode or just keep it a freeroam.

NOTE: If you find any bugs PM me or comment on this topic!

DOWNLOAD: https://pastebin.com/wFiAqgpk

Enjoy!
Mad is offline   Reply With Quote
Old 31/07/2019, 11:41 AM   #2
ZTz
Banned
 
Join Date: Aug 2018
Posts: 25
Reputation: 0
Default Re: Mad Freeroam [NEW]

y_ini or mysql?
ZTz is offline   Reply With Quote
Old 31/07/2019, 12:40 PM   #3
Mad
Little Clucker
 
Mad's Avatar
 
Join Date: Jul 2019
Location: Tunisia
Posts: 15
Reputation: 2
Default Re: Mad Freeroam [NEW]

Quote:
Originally Posted by ZTz View Post
y_ini or mysql?
It uses Y_INI, Mysql is so hard for me.
Mad is offline   Reply With Quote
Old 31/07/2019, 02:18 PM   #4
ZTz
Banned
 
Join Date: Aug 2018
Posts: 25
Reputation: 0
Default Re: Mad Freeroam [NEW]

i think y_ini is hard xD
ZTz is offline   Reply With Quote
Old 31/07/2019, 04:07 PM   #5
SiaReyes
Huge Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 323
Reputation: 22
Default Re: Mad Freeroam [NEW]

Freeroam gamemode with y_ini is not worthy. mySQL or SQLite is mostly preferred by members. Most importantly password should be hashed.

Behalf of that i noticed something.
1) In setvip command it sets the player admin level 'PlayerInfo[tplayer][pAdmin] = vlevel' instead [pVIP]. Line:593
2) PlayerName should be stored in database and it can be used in places of GetPlayerName.


Edit:
Instead of DAhelp and DVhelp and etc.. you could use 1 dialog define
#define NO_DIALOG 12 // dialog id which is not used!

OnPlayerDeath is totally wrong. Why do you increase kills when a player dies accidently?
check if killerid is not INVALID_PLAYER_ID and put those kill msgs and kills++; inside it.

Instead of using Spawned[playerid] in each command, you could just put it under OnPlayerCommandText.


Anyways, Good Job.
__________________
Offshowtime Fuck It!

Quote:
Originally Posted by Toroi View Post
blackmail people that join your server using their ip address as hostage

or get a job and play sa-mp for fun

Last edited by SiaReyes; 31/07/2019 at 06:01 PM.
SiaReyes is offline   Reply With Quote
Old 31/07/2019, 07:52 PM   #6
Mobtiesgangsa
Big Clucker
 
Join Date: Oct 2016
Posts: 137
Reputation: 16
Default Re: Mad Freeroam [NEW]

+rep at least you have done your best. you have been clear you can't make this into MySQL system that is fine best practices makes more improvements haven't download it yet but by the looks of it i will be happy to show you 2 version of your gamemode in MySQL making it cached and ORM. if you agree and permitted me to convert it for you ill be glad.
Mobtiesgangsa is online now   Reply With Quote
Old 01/08/2019, 10:30 AM   #7
Mad
Little Clucker
 
Mad's Avatar
 
Join Date: Jul 2019
Location: Tunisia
Posts: 15
Reputation: 2
Default Re: Mad Freeroam [NEW]

Quote:
Freeroam gamemode with y_ini is not worthy. mySQL or SQLite is mostly preferred by members. Most importantly password should be hashed.

Behalf of that i noticed something.
1) In setvip command it sets the player admin level 'PlayerInfo[tplayer][pAdmin] = vlevel' instead [pVIP]. Line:593
2) PlayerName should be stored in database and it can be used in places of GetPlayerName.


Edit:
Instead of DAhelp and DVhelp and etc.. you could use 1 dialog define
#define NO_DIALOG 12 // dialog id which is not used!

OnPlayerDeath is totally wrong. Why do you increase kills when a player dies accidently?
check if killerid is not INVALID_PLAYER_ID and put those kill msgs and kills++; inside it.

Instead of using Spawned[playerid] in each command, you could just put it under OnPlayerCommandText.


Anyways, Good Job.
I will work on that in the next update release, there is will be a re-create of this gamemode using Mysql.

Quote:
+rep at least you have done your best. you have been clear you can't make this into MySQL system that is fine best practices makes more improvements haven't download it yet but by the looks of it i will be happy to show you 2 version of your gamemode in MySQL making it cached and ORM. if you agree and permitted me to convert it for you ill be glad.
Thank you for your support too, you're free to convert it & use it as you like.
Mad is offline   Reply With Quote
Old 01/08/2019, 12:29 PM   #8
N4Sti
Little Clucker
 
Join Date: Jan 2018
Location: Poland
Posts: 2
Reputation: 0
Default Re: Mad Freeroam [NEW]

You can insert gm on github.
N4Sti is offline   Reply With Quote
Old 02/08/2019, 03:35 AM   #9
NeXTGoD
Big Clucker
 
NeXTGoD's Avatar
 
Join Date: Jul 2018
Posts: 88
Reputation: 4
Default Re: Mad Freeroam [NEW]

Nice keep it up bro
__________________
.

xSF Reborn:


.
NeXTGoD is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] Unleashed Stunt Freeroam - Stunt/Freeroam/DM/Fun - MySQL SyntaxQ Gamemode Scripts 144 17/01/2018 10:36 AM
freeroam UfsDev Scripting Help 5 29/03/2014 05:21 PM
[GameMode] Dreakned Freeroam Freeroam v1.0 Phoenix1 Gamemode Scripts 6 30/09/2012 10:28 AM


All times are GMT. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.