21.06.2015, 18:38
use this code:
PHP код:
if(!strlen(inputtext) || !IsNumeric(inputtext) || strlen(inputtext) > 5) return ShowPlayerDialog(playerid,DIALOG_TOW,DIALOG_STYLE_LIST, "Towing" ,GetVehicleName(i),"Tow","cancel");