18.04.2009, 17:05
Quote:
Originally Posted by szep_anita_01
Hello Guys...i want make a Speed.inc but i have a warning "warning 213: tag mismatch" when i want compile my script...
stock GetPlayerSpeed(playerid) { GetPlayerPos(playerid, SPos[playerid][3], SPos[playerid][4], SPos[playerid][5]); if(SPos[playerid][5] > 550.0) { SPos[playerid][0] = 0.0; SPos[playerid][1] = 0.0; } if(SPos[playerid][0] != 0.0) { new Float ![]() new Float:ydist = SPos[playerid][4]-SPos[playerid][1]; new Float ![]() new Float ![]() new Float:distance = (sqxdist+sqydist)/31; return distance; } return 1; } whats the problem? pls help |