Save Team Help Needed !
#1

Hello,

i want like that when a Player choose a team and when he reconnect, he/she should automatically be into their Team which they choosed !

My Enum :
Код:
enum pInfo
{
	AdminLevel,
	Vip,
	Cash,
	Score,
	Kill,
	Deaths,
	Warns
}
My Team Define :
Код:
#define India 1
#define Pakistan 2
#define Bangladesh 3
#define SriLanka 4
Not Using gTeam, If Need just tell me !
Please Help
Thanks
Reply
#2

pawn Код:
enum tInfo
{
     pTeam;
}
new TeamInfo[MAX_PLAYERS][tInfo];
u can use pinfo to
Reply
#3

Thanks But can u show me an example or tell me in More details ?
Reply
#4

what saving system you use?
Reply
#5

what u mean ?
Reply
#6

dini, Y_inin, mysql, which system do u use to save the accounts??
Reply
#7

Just save the team like you save the admin status, simple.
Reply
#8

Ok but in this :
Код:
dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][AdminLevel] = 0);
How will i make for Team ?
Reply
#9

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
what saving system you use?
Dini
P.S Sorry for double post
Reply
#10

pawn Код:
dini_IntSet(file, "Team",PlayerInfo[playerid][gTeam]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)