How to fix this!!
#2

Post proper topics, and don't post repeat topics just because you don't like what you are being told...

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
This is where you need to learn, as even if the code is made for you, it's not going to teach you anything.

As mentioned, if you've got this 'everywhere' in your script, you may be better off starting over. Using skins to ID factions, is a terrible practice, where you should be using an array, or an enum.


Your first issue was that you had the SWAT skin, in the COPS team, where if you look at your code, EVERY SKIN, is listed under civilian, so if you check that 'team' first, it'll ignore ALL other checks, as it got a result from the civilian team.

Now again, if this 'practice' has been all through your script, it's high time you got a better script and started reading, and taking on board what is said.




After all, is it not 2 years you've been trying to edit this gamemode?
Reply


Messages In This Thread
How to fix this!! - by Thanks - 12.05.2018, 12:26
Re: How to fix this!! - by Sew_Sumi - 12.05.2018, 12:36
Re: How to fix this!! - by TadePoleMG - 12.05.2018, 12:37
Re: How to fix this!! - by Sew_Sumi - 12.05.2018, 12:38
Re: How to fix this!! - by Thanks - 13.05.2018, 12:09
Re: How to fix this!! - by Dayrion - 13.05.2018, 12:16
Re: How to fix this!! - by Lokii - 13.05.2018, 12:20
Re: How to fix this!! - by Sew_Sumi - 13.05.2018, 12:47
Re: How to fix this!! - by RedRex - 13.05.2018, 12:56
Re: How to fix this!! - by RedRex - 13.05.2018, 18:28

Forum Jump:


Users browsing this thread: 1 Guest(s)