21.07.2013, 15:31
(
Последний раз редактировалось Levtu; 21.07.2013 в 17:00.
)
I tried that:
compile error: error 017: undefined symbol "playerid".
Any suggestions?
pawn Код:
new str[128];
if(VehicleLocked[veh] >= 0 && HaveNitro[veh]){
format(str,sizeof(str),"%s~n~~w~ID: %d~n~~w~Szybkosc: ~g~%d km/h~n~~w~Stan HP: ~g~%d/100~n~~w~Zamkniety: ~r~tak~n~~w~Nitro: ~r~tak",CarList[model-400],GetPlayerVehicleID(playerid),speed,dmg);
}else if(VehicleLocked[veh] >= 0 && !HaveNitro[veh]){
format(str,sizeof(str),"%s~n~~w~ID: %d~n~~w~Szybkosc: ~g~%d km/h~n~~w~Stan HP: ~g~%d/100~n~~w~Zamkniety: ~r~tak~n~~w~Nitro: ~g~nie",CarList[model-400],GetPlayerVehicleID(playerid),speed,dmg);
}else if(VehicleLocked[veh] < 0 && HaveNitro[veh]){
format(str,sizeof(str),"%s~n~~w~ID: %d~n~~w~Szybkosc: ~g~%d km/h~n~~w~Stan HP: ~g~%d/100~n~~w~Zamkniety: ~g~nie~n~~w~Nitro: ~r~tak",CarList[model-400],GetPlayerVehicleID(playerid),speed,dmg);
}else if(VehicleLocked[veh] < 0 && !HaveNitro[veh]){
format(str,sizeof(str),"%s~n~~w~ID: %d~n~~w~Szybkosc: ~g~%d km/h~n~~w~Stan HP: ~g~%d/100~n~~w~Zamkniety: ~g~nie~n~~w~Nitro: ~g~nie",CarList[model-400],GetPlayerVehicleID(playerid),speed,dmg);
}
TextDrawSetString(CarInfo[x],str);
}
Any suggestions?