07.07.2014, 16:10
(
Последний раз редактировалось UserName31; 07.07.2014 в 19:46.
)
FIXED!
HOW ? ok so i was using this Getplayerteam when i already had a variable set to that like gTeam so here what i did
i change pTeam to gTeam
OnPlayerDisconnect
i change it to this
see gTeam
and so on for the rest like dialog_register
and on DIALOG_LOGIN
So what i am trying to say is why need a variable like pTeam or GetPlayerTeam or SetPlayerTeam when you already have gTeam[playerid] = teamid);
But thanks to all who tryed to help me +rep!
HOW ? ok so i was using this Getplayerteam when i already had a variable set to that like gTeam so here what i did
i change pTeam to gTeam
OnPlayerDisconnect
i change it to this
PHP код:
dini_IntSet(file, "Team", gTeam[playerid]);
and so on for the rest like dialog_register
PHP код:
dini_IntSet(file, "Team", gTeam[playerid] = 5);
PHP код:
gTeam[playerid] = dini_Int(file, "Team");
But thanks to all who tryed to help me +rep!