warning 213: tag mismatch
#5

So Probably you were Right. I tried it like this and its compiled:

PHP код:
forward Float:PlayerPosition(playeridFloat:XFloat:YFloat:Z);
stock Float:PlayerPosition(playeridFloat:XFloat:YFloat:Z)
{
  new 
Float:XP,Float:YP,Float:ZP;
  
GetPlayerPos(playerid,XP,YP,ZP);
  return (
XP X) + (YP Y) + (ZP Z);

=======================
Lazy to create another thread for other Errors, so have a look

Error:
Код:
error 076: syntax error in the expression, or invalid function call
PHP код:
    new Str[300];
    
format(Strsizeof(Str), "%d/%d"ClosestDisGetPlayersOnServer); //Error in GetPlayersOnServer Possibily
    
TextDrawSetString(Textdraw15Str); 
PHP код:
stock GetPlayersOnServer()
{
    new 
count;
    for(new 
x=0xMAX_PLAYERSx++)
    {
        if(
IsPlayerConnected(x)))
          {
            
count++;
          }
    }
    return 
count;

Reply


Messages In This Thread
warning 213: tag mismatch - by SpikY_ - 29.12.2015, 11:44
Re: warning 213: tag mismatch - by graef - 29.12.2015, 11:57
Re: warning 213: tag mismatch - by SpikY_ - 29.12.2015, 12:04
Re: warning 213: tag mismatch - by graef - 29.12.2015, 12:10
Re: warning 213: tag mismatch - by SpikY_ - 29.12.2015, 12:20
Re: warning 213: tag mismatch - by graef - 29.12.2015, 12:39
Re: warning 213: tag mismatch - by SpikY_ - 29.12.2015, 12:47

Forum Jump:


Users browsing this thread: 1 Guest(s)