Warning 213: tag mismatch
#8

Fixed it, added a new GetPlayerSpeed Stock.

Код:
stock GetPlayerSpeed2(playerid)
{
    new Float:ST[4];
    if(IsPlayerInAnyVehicle(playerid))
    GetVehicleVelocity(GetPlayerVehicleID(playerid),ST[0],ST[1],ST[2]);
    else GetPlayerVelocity(playerid,ST[0],ST[1],ST[2]);
    ST[3] = floatsqroot(floatpower(floatabs(ST[0]), 2.0) + floatpower(floatabs(ST[1]), 2.0) + floatpower(floatabs(ST[2]), 2.0)) * 179.28625;
    return floatround(ST[3]);
}
Reply


Messages In This Thread
Warning 213: tag mismatch - by Tingesport - 15.02.2013, 15:52
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 15:53
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:15
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 16:17
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:18
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 16:19
Re: Warning 213: tag mismatch - by Chris White - 15.02.2013, 16:21
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:21
Re: Warning 213: tag mismatch - by YoYo123 - 15.02.2013, 16:25
Re: Warning 213: tag mismatch - by LetsOWN[PL] - 15.02.2013, 16:33

Forum Jump:


Users browsing this thread: 3 Guest(s)