14.10.2014, 21:48
pawn Код:
if(GetPlayerSpeed(i, true) >= 150)
{
format(str2,sizeof(str2),"~r~%02d",GetPlayerSpeed(i, true));
TextDrawSetString(kmh[i], str2);
}
else if(kmh_anzahl >= 100)
{
format(str2,sizeof(str2),"~g~%02d",GetPlayerSpeed(i, true));
TextDrawSetString(kmh[i], str2);
}
else if(kmh_anzahl >= 50)
{
format(str2,sizeof(str2),"~g~%02d",GetPlayerSpeed(i, true));
TextDrawSetString(kmh[i], str2);
}
else
{
format(str2,sizeof(str2),"~g~%02d",GetPlayerSpeed(i, true));
TextDrawSetString(kmh[i], str2);
}