Strange warning 213: tag mismatch
#3

top of the script, global variable:
pawn Код:
new TmpCarKeys[MAX_PLAYERS], TmpCarKeys2[MAX_PLAYERS];
And PlayerToPoint:
pawn Код:
stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
  if(IsPlayerConnected(playerid))
    {
        new Float:oldposx, Float:oldposy, Float:oldposz;
        new Float:tempposx, Float:tempposy, Float:tempposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        tempposx = (oldposx -x);
        tempposy = (oldposy -y);
        tempposz = (oldposz -z);
        if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
        {
            return 1;
        }
    }
    return 0;
}
it works fine for the rest of the script..
Reply


Messages In This Thread
Strange warning 213: tag mismatch - by Coicatak - 25.08.2009, 18:23
Re: Strange warning 213: tag mismatch - by Joe Staff - 25.08.2009, 18:25
Re: Strange warning 213: tag mismatch - by Coicatak - 25.08.2009, 18:37
Re: Strange warning 213: tag mismatch - by Joe Staff - 25.08.2009, 18:41
Re: Strange warning 213: tag mismatch - by Coicatak - 25.08.2009, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)