24.07.2010, 20:17
Hey Guys!
I got a warning in my script:
Here is the function:
Which parameter is bad?
Nonameman
I got a warning in my script:
Код:
C:\Documents and Settings\Bence\Asztal\sa.mp\gamemodes\Fun.pwn(762) : warning 213: tag mismatch
pawn Код:
public SpeedoTimer(playerid)
{
new
Float:pos[3],
speed,
str[128];
GetVehicleVelocity(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[2]);
speed = floatsqroot(floatpower(pos[0], 2)+floatpower(pos[1], 2)+floatpower(pos[2], 2))*160.0;
format(str, sizeof(str), "~b~-~n~~w~%d ~g~km/h~n~~w~%d ~r~mp/h", floatround(speed, floatround_round), floatround(speed/1.6, floatround_round));//line 762
TextDrawSetString(Speedometer[0], str);
return 1;
}
Nonameman