[GameMode] Zombieland TDM / Survival (SQLite)
#8

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

Код:
	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:

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

}
Reply


Messages In This Thread
Zombieland TDM / Survival (SQLite) - by Logic_ - 10.06.2018, 06:55
Re: Zombieland TDM / Survival (SQLite) - by Shadow0707 - 10.06.2018, 07:22
Re: Zombieland TDM / Survival (SQLite) - by BanSilog - 10.06.2018, 08:03
Re: Zombieland TDM / Survival (SQLite) - by xMoBi - 10.06.2018, 08:14
Re: Zombieland TDM / Survival (SQLite) - by KyNe - 11.06.2018, 17:34
Re: Zombieland TDM / Survival (SQLite) - by DarkMythHunter - 11.06.2018, 17:45
Re: Zombieland TDM / Survival (SQLite) - by Logic_ - 11.06.2018, 21:12
Re: Zombieland TDM / Survival (SQLite) - by bruxo00 - 11.06.2018, 23:47
Re: Zombieland TDM / Survival (SQLite) - by Logic_ - 12.06.2018, 00:48
Re: Zombieland TDM / Survival (SQLite) - by Logic_ - 19.06.2018, 05:28
Re: Zombieland TDM / Survival (SQLite) - by Mobtiesgangsa - 22.06.2018, 05:22
Re: Zombieland TDM / Survival (SQLite) - by Logic_ - 22.06.2018, 18:13
Re: Zombieland TDM / Survival (SQLite) - by Logic_ - 25.06.2018, 07:32
Re: Zombieland TDM / Survival (SQLite) - by EzeGODezE - 26.06.2018, 21:40
Re: Zombieland TDM / Survival (SQLite) - by Mobtiesgangsa - 27.06.2018, 21:22
Re: Zombieland TDM / Survival (SQLite) - by Erwin. - 03.07.2018, 10:45
Re: Zombieland TDM / Survival (SQLite) - by MafiaOink - 22.02.2019, 18:57

Forum Jump:


Users browsing this thread: 2 Guest(s)