Tag mismatch
#1

pawn Код:
new Float:PlayerXPos[MAX_PLAYERS];
new Float:PlayerYPos[MAX_PLAYERS];
new Float:PlayerZPos[MAX_PLAYERS];

public OnPlayerDisconnect(playerid, reason)
{
  if(PlayerLoggedIn[playerid] == true)
  {
    GetPlayerPos(playerid, PlayerXPos[playerid], PlayerYPos[playerid], PlayerZPos[playerid]);
    dini_IntSet(file,"X Pos",PlayerXPos[playerid); //Here
    dini_IntSet(file,"Y Pos",PlayerYPos[playerid]); //Here
    dini_IntSet(file,"Z Pos",PlayerZPos[playerid]); //And here
  }
  PlayerXPos[playerid]    = 0;
  PlayerYPos[playerid]    = 0;
  PlayerZPos[playerid]    = 0;
  return 1;
}
It don't effect anything with the place of 'new Float:', it is the same problem with and without the [playerid] array.

I don't see the fault
Reply


Messages In This Thread
Tag mismatch - by Remi-X - 08.06.2009, 21:40
Re: Tag mismatch - by Weirdosport - 08.06.2009, 21:51
Re: Tag mismatch - by Remi-X - 08.06.2009, 22:18

Forum Jump:


Users browsing this thread: 1 Guest(s)