Get player team
#1

Hi. I'm using gTeam with lspd and robbers define. Now i making a system to save the current team in which player is on and will when again log in will get in the team i.e. the saved file will be called back. I already set up the save/load of positions. All the thing is left is teams. Any idea on how do i get the team of player in which he is?
Reply
#2

You have already mentioned your answer lol. gTeam, gTeam is the key to get the team of the player ....
Reply
#3

But how will i use it to get the team?
Reply
#4

Hello!

What is your problem to convert this? Use https://sampwiki.blast.hk/wiki/GetPlayerTeam or your variable gTeam.
It depends where you save this value of the Team.
Reply
#5

Ah... understand. So what should i save it into? the team and the position of player?
Reply
#6

Only the Team, the Position you can set in the script when you check which Team the Player is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)