SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/06/2018, 06:55 AM   #1
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 263
Default Zombieland TDM / Survival (SQLite)


Current Version: V1 Build 4 | Original Thread: Click me!

Information:
Click me!
All guidance can be found here!

Update Log:
Click me!

To Do List:
1. Cleanup all functions and improve indentation further
2. Textdraws/ useless code cleanup

Converting .INI maps to the new system:
You can use the convert.pwn and use it a filter-script to move your .INI map to the database. You also might need to change the MAX_MAPS definition value.

Reasons to use:
1. SQLite! Faster and better than other file saving systems.
2. Optimized code - Almost everything has been rewritten to suit the new standards.
3. Cleaner code - Code repetition has reduced a lot and is now a lot more cleaner
4. Providing bug fixing support!

Note(s):
1. Use Zeex's/ Community's Compiler

Download Link:
Click me!

Last edited by Logic_; 26/06/2018 at 06:42 PM.
Logic_ is offline   Reply With Quote
Old 10/06/2018, 07:22 AM   #2
Shadow0707
Big Clucker
 
Join Date: Sep 2016
Location: My Mothers House
Posts: 82
Reputation: 2
Default Re: Zombieland TDM / Survival (SQLite)

Sounds amazing
__________________
Shadow0707 is offline   Reply With Quote
Old 10/06/2018, 08:03 AM   #3
BanSilog
Big Clucker
 
BanSilog's Avatar
 
Join Date: Nov 2017
Location: @Øffset's House
Posts: 72
Reputation: 7
Default Re: Zombieland TDM / Survival (SQLite)

Nice bro!
__________________
BanSilog is offline   Reply With Quote
Old 10/06/2018, 08:14 AM   #4
xMoBi
Big Clucker
 
Join Date: Jul 2017
Location: Australia (visit) - Pakistan (original)
Posts: 103
Reputation: 26
Default Re: Zombieland TDM / Survival (SQLite)

looks good!
xMoBi is offline   Reply With Quote
Old 10/06/2018, 06:12 PM   #5
Infin1ty
Little Clucker
 
Join Date: Feb 2018
Posts: 15
Reputation: 9
Default Re: Zombieland TDM / Survival (SQLite)

Quote:
Originally Posted by blackgangs View Post
LMAO
That's exactly the problem, which you dont have any idea about...



Then why you're sharing a GM that you didnt touched?
Do you have even permission from the owners? or another stolen GM?
Salt much?

OT: Good job Logic, rep.
__________________

Palomino Creek Roleplay
Palomino Creek Roleplay is an upcoming Roleplay server based in the Palomino Creek/Red County area. The server is currently in development now however we can assure you that we are working as hard as we can to get the server out as soon as possible. We do have a discord and forums however.
Infin1ty is offline   Reply With Quote
Old 10/06/2018, 07:11 PM   #6
KaryM4Life
Big Clucker
 
KaryM4Life's Avatar
 
Join Date: Oct 2017
Location: Jupiter
Posts: 89
Reputation: 43
Default Re: Zombieland TDM / Survival (SQLite)

Quote:
Originally Posted by blackgangs View Post
LMAO
That's exactly the problem, which you dont have any idea about...



Then why you're sharing a GM that you didnt touched?
Do you have even permission from the owners? or another stolen GM?
Lmao he is trying so hard

OT: The gamemode is nice, Good job logic_ !
__________________




KaryM4Life is online now   Reply With Quote
Old 11/06/2018, 05:34 PM   #7
KyNe
Big Clucker
 
KyNe's Avatar
 
Join Date: Dec 2017
Location: Kota Bharu,Kelantan | Malaysia
Posts: 116
Reputation: 1
Default Re: Zombieland TDM / Survival (SQLite)

wow well,good job
KyNe is offline   Reply With Quote
Old 11/06/2018, 05:45 PM   #8
DarkMythHunter
Big Clucker
 
Join Date: May 2017
Location: Philippines
Posts: 58
Reputation: 12
Default Re: Zombieland TDM / Survival (SQLite)

Wow, love it.
__________________
DarkMythHunter is offline   Reply With Quote
Old 11/06/2018, 09:12 PM   #9
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 263
Default Re: Zombieland TDM / Survival (SQLite)

Thank you everyone for your comments.

Will release an update with quite lots of changes! Stay tuned.

EDIT: Released V1 Build 2.
__________________
Premium quality and reasonable pricing game Server hosting

Last edited by Logic_; 11/06/2018 at 09:47 PM.
Logic_ is offline   Reply With Quote
Old 11/06/2018, 11:47 PM   #10
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,071
Reputation: 137
Default Re: Zombieland TDM / Survival (SQLite)

I've looked at the code, it seems well organized, but one thing:

Code:
	if (PRESSED(KEY_WALK))
	{
		if (pInfo[playerid][pTeam] == TEAM_ZOMBIE)
		{
			if (pInfo[playerid][pClass] == MUTATEDZOMBIE)
			{

				
			}
		 }
	}
Why do you have so many if statments built like this? And not like this:

Code:
if (PRESSED(KEY_WALK) && pInfo[playerid][pTeam] == TEAM_ZOMBIE && pInfo[playerid][pClass] == MUTATEDZOMBIE) 
{

}
bruxo00 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] Zombieland TDM / Survival SjuteL Gamemode Scripts 45 31/05/2017 11:25 AM
[GameMode] The Nether Survival [SQLite] [ZOM] Voxel Gamemode Scripts 83 09/07/2014 09:57 AM


All times are GMT. The time now is 02:38 PM.


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