SA-MP Forums

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

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

Quote:
Originally Posted by bruxo00 View Post
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) 
{

}
Indeed - I've yet to touch the OnPlayerKeyStateChange function and others.
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 19/06/2018, 05:28 AM   #12
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 263
Default Re: Zombieland TDM / Survival (SQLite)

New update is out!
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 22/06/2018, 05:22 AM   #13
Mobtiesgangsa
Big Clucker
 
Mobtiesgangsa's Avatar
 
Join Date: Oct 2016
Location: Skopje, Macedonia
Posts: 97
Reputation: 9
Default Re: Zombieland TDM / Survival (SQLite)

i can not compile this gamemode reason

Quote:
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(835) : error 075: input line too long (after substitutions)
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 037: invalid string (possibly non-terminated string)
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : warning 215: expression has no effect
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 017: undefined symbol "INTE"
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
__________________
YSI User

Code:
public e_COMMAND_ERRORS:OnPlayerCommandReceived(playerid, cmdtext[], e_COMMAND_ERRORS:success)
{
	switch(success)
	{
	    case COMMAND_UNDEFINED:
	    {
		    TextDrawShowForPlayer(playerid, cmdinfo[playerid]);
		    SetTimerEx("UnknownCommand", 3000, false, "d", playerid);
	    }
	}
	return COMMAND_OK;
}
Mobtiesgangsa is offline   Reply With Quote
Old 22/06/2018, 06:13 PM   #14
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 263
Default Re: Zombieland TDM / Survival (SQLite)

Quote:
Originally Posted by Mobtiesgangsa View Post
i can not compile this gamemode reason
Use Zeex's compiler.
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 25/06/2018, 07:32 AM   #15
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 263
Default Re: Zombieland TDM / Survival (SQLite)

V1 Build 4 released!

PHP Code:
1. Added new terrorist bomb system
2. Added 
new doctor shield system
3. Patched an issue with terrorist bomb system
4. Added an 
array that stores the map namecan be useful for '/maps' command
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 26/06/2018, 09:40 PM   #16
EzeGODezE
Big Clucker
 
Join Date: Mar 2018
Posts: 58
Reputation: 15
Default Re: Zombieland TDM / Survival (SQLite)

Where your prison roleplay script
EzeGODezE is offline   Reply With Quote
Old 27/06/2018, 09:22 PM   #17
Mobtiesgangsa
Big Clucker
 
Mobtiesgangsa's Avatar
 
Join Date: Oct 2016
Location: Skopje, Macedonia
Posts: 97
Reputation: 9
Default Re: Zombieland TDM / Survival (SQLite)

i would like to inform you there is a defect while creating users table i had to add it manual

EDIT: users that register is not added correctly to the specified tables
Players name

registered players are not saved to SQLite properly

No login shows for registered players

Maps are all added properly

there is a bug on Script its self i could specifi more only on discort or skype
__________________
YSI User

Code:
public e_COMMAND_ERRORS:OnPlayerCommandReceived(playerid, cmdtext[], e_COMMAND_ERRORS:success)
{
	switch(success)
	{
	    case COMMAND_UNDEFINED:
	    {
		    TextDrawShowForPlayer(playerid, cmdinfo[playerid]);
		    SetTimerEx("UnknownCommand", 3000, false, "d", playerid);
	    }
	}
	return COMMAND_OK;
}

Last edited by Mobtiesgangsa; 27/06/2018 at 10:08 PM.
Mobtiesgangsa is offline   Reply With Quote
Old 03/07/2018, 10:45 AM   #18
SjuteL
Gangsta
 
SjuteL's Avatar
 
Join Date: Jan 2013
Location: Northern Europe.
Posts: 927
Reputation: 220
Default Re: Zombieland TDM / Survival (SQLite)

I see, that you have improved alot in scripting. And regarding to this gamemode, I remember, that you recommend to move the system to MySQL, but at that time, I haven't have that much experience in MySQL though. That's why I left it as Y_Ini, because I knew, that one day, you will make it better. Thank you for converting this gamemode and adding updates to it. Much respect and keep going.
__________________
Left SA-MP.
SjuteL 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 11:29 AM.


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