Posts: 162
Threads: 61
Joined: Jun 2011
Reputation:
0
Hey,
Just a question nothing special but why does GF use gTeam, And PlayerInfo[playerid][pTeam]? Why not jst one of them?
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
They will be using PlayerInfo[playerid][pTeam] To Store Team's for a Player! So that one can only choose a Team and it will be stored under his PlayerVariable Enum to save the data of the player!
They will be using both because of some function's defination or something so it wont interfere and they can check the Team for a Player!
Posts: 162
Threads: 61
Joined: Jun 2011
Reputation:
0
So why cant you just use the same headers, but use PlayerInfo[playerid][pTeam] under them and keep checking? Sorry to ask I'm just wondering
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
You can. But a Scripter decide's how he's going to code a function to complete a specific task.