dogtags
#2

Where you've made a single variable, you need an array.

Because each player can drop a dogtag, then you need to have one, per player... Even 2 if you think that it won't be picked up before the player dies a second time.

Also, you don't want people picking up their own dogtag.



You check the players team against the dogtag and ensure the teams don't match, but you still want to ensure you find the right dogtag, instead of checking 2 different variables one for each team. (In that scenario you could only ever have 2 dogtags out, 1 for each possible player, where you could have way more.)
Reply


Messages In This Thread
dogtags - by Mohaaaaaaaaaaa - 22.08.2018, 22:40
Re: dogtags - by Sew_Sumi - 23.08.2018, 01:59
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 07:27
Re: dogtags - by Sew_Sumi - 23.08.2018, 08:16
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 08:24
Re: dogtags - by Sew_Sumi - 23.08.2018, 10:41
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 11:49
Re: dogtags - by Sew_Sumi - 23.08.2018, 15:05
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 16:58
Re: dogtags - by Mohaaaaaaaaaaa - 24.08.2018, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)